|
|
@ -4,10 +4,34 @@ FREECIV_DATA_PATH=$HOME/.config/freeciv |
|
|
|
setopt no_global_rcs |
|
|
|
|
|
|
|
# environment variables |
|
|
|
export XDG_CONFIG_HOME="$HOME/.config" |
|
|
|
export XDG_CONFIG_HOME="$HOME"/.config |
|
|
|
export XDG_DATA_HOME="$HOME"/.local/share |
|
|
|
export XDG_CACHE_HOME="$HOME"/.cache |
|
|
|
|
|
|
|
# move zsh config to $XDG_CONFIG_HOME |
|
|
|
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" |
|
|
|
export ZDOTDIR="$XDG_CONFIG_HOME"/zsh |
|
|
|
|
|
|
|
# to prevent .wine in home |
|
|
|
export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default |
|
|
|
|
|
|
|
#for nvidia cuda, in case I should use it |
|
|
|
export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv |
|
|
|
|
|
|
|
#GnuPG |
|
|
|
export GNUPGHOME="$XDG_DATA_HOME"/gnupg |
|
|
|
#gpg2 --homedir "$XDG_DATA_HOME"/gnupg |
|
|
|
|
|
|
|
# npm |
|
|
|
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc |
|
|
|
|
|
|
|
# Java OpenJDK |
|
|
|
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java |
|
|
|
|
|
|
|
# Gradle |
|
|
|
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle |
|
|
|
|
|
|
|
# Pylint |
|
|
|
export PYLINTHOME="$XDG_CACHE_HOME"/pylint |
|
|
|
|
|
|
|
# aliases |
|
|
|
# to temporary disable them in case they override defaults, |
|
|
|