config/zsh: Task, GPG xdg in zprofile

This commit is contained in:
xerus2000 2020-10-13 11:19:09 +02:00
parent 87aaf7a2b5
commit 07b831dedc
2 changed files with 9 additions and 4 deletions

View File

@ -37,7 +37,7 @@ DISABLE_UNTRACKED_FILES_DIRTY="true" # DOn't mark untracked files as dirty - spe
plugins=(
#git
gitfast
git-auto-fetch
#git-auto-fetch
z
fast-syntax-highlighting
zsh-autosuggestions

View File

@ -1,13 +1,18 @@
. ~/.profile
# xdg
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
# adjust programs to use xdg
export XAUTHORITY="$XDG_CACHE_HOME/Xauthority"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
export TIMEWARRIORDB="$XDG_DATA_HOME/timewarrior"
export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle"
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java"
export XAUTHORITY="$XDG_CACHE_HOME/Xauthority"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export TIMEWARRIORDB="$XDG_DATA_HOME/timewarrior"
export TASKRC="$XDG_CONFIG_HOME/task/taskrc"
export TASKDATA="$XDG_DATA_HOME/task"
# zsh dirs
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export _Z_DATA="$XDG_DATA_HOME/zsh/z"