profile: update some paths & enforce more XDG
This commit is contained in:
parent
bffe2ce0a1
commit
d49395722b
9
.ignore
9
.ignore
|
@ -1,4 +1,5 @@
|
||||||
data/
|
/data/
|
||||||
daten/
|
/daten/
|
||||||
games/
|
/games/
|
||||||
.cache/
|
/.cache/
|
||||||
|
build/
|
||||||
|
|
16
.zprofile
16
.zprofile
|
@ -1,15 +1,23 @@
|
||||||
# xdg
|
# xdg
|
||||||
|
export DATA="$HOME/data"
|
||||||
export XDG_DATA_HOME="$HOME/.local/share"
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
export XDG_CACHE_HOME="$HOME/.cache"
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
export XDG_CONFIG_HOME="$HOME/.config"
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
# adjust programs to use xdg
|
# adjust programs to use xdg
|
||||||
#export XAUTHORITY="$XDG_CACHE_HOME/Xauthority"
|
#export XAUTHORITY="$XDG_CACHE_HOME/Xauthority"
|
||||||
#export XAUTHORITY="/tmp/Xauthority"
|
#export XAUTHORITY="/tmp/Xauthority"
|
||||||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
|
export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
||||||
export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle"
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||||
|
export GOPATH="$XDG_DATA_HOME"/go
|
||||||
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
|
export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap
|
||||||
|
# Java & Android
|
||||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
|
||||||
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
||||||
|
export ANDROID_PREFS_ROOT="$XDG_CONFIG_HOME"/android
|
||||||
|
export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/emulator
|
||||||
|
export ANDROID_SDK_ROOT="/opt/android/sdk"
|
||||||
|
# taskwarrior & timewarrior
|
||||||
export TIMEWARRIORDB="$XDG_DATA_HOME/timewarrior"
|
export TIMEWARRIORDB="$XDG_DATA_HOME/timewarrior"
|
||||||
export TASKRC="$XDG_CONFIG_HOME/task/taskrc"
|
export TASKRC="$XDG_CONFIG_HOME/task/taskrc"
|
||||||
export TASKDATA="$XDG_DATA_HOME/task"
|
export TASKDATA="$XDG_DATA_HOME/task"
|
||||||
|
|
Loading…
Reference in New Issue