chore(zsh): changed ZDOTDIR

This commit is contained in:
Afonso Franco 2024-07-31 14:25:30 +01:00
parent e5ec22035f
commit c10c123c95
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4

16
.zshenv
View file

@ -1,16 +1,2 @@
#This is used to reload the instance export XDG_CONFIG_HOME="$HOME/.config"
TRAPUSR1() {
if [[ -o INTERACTIVE ]]; then
exec "${SHELL}"
fi
}
if [[ $(uname) == "Darwin" ]]; then
export JAVA_HOME="/opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home"
else
export LIBVA_DRIVER_NAME=nvidia
fi
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_STATE_HOME="${HOME}/.local/state"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" export ZDOTDIR="$XDG_CONFIG_HOME/zsh"