summaryrefslogtreecommitdiff
path: root/zsh/.zshenv
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshenv')
-rw-r--r--zsh/.zshenv5
1 files changed, 3 insertions, 2 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index b8ee20d..2fe0467 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -5,6 +5,8 @@ export XDG_DATA_HOME=${XDG_DATA_HOME:="$HOME/.local/share"}
export XDG_CACHE_HOME=${XDG_CACHE_HOME:="$HOME/.cache"}
export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:="$HOME/.config"}
+[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"
+
# Doesn't seem to work
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
export ANDROID_AVD_HOME="$XDG_DATA_HOME"/android/
@@ -77,6 +79,7 @@ export SRCDIR="$HOME/.local/src"
# KSH
export ENV="$XDG_CONFIG_HOME/mksh/mkshrc"
+# PATH
export PATH="$HOME/.local/bin/testing"
export PATH="$PATH:$HOME/.local/bin/shortcmds"
export PATH="$PATH:$HOME/.local/bin/generics"
@@ -98,6 +101,4 @@ export PATH="$PATH:/usr/sbin"
export PATH="$PATH:/bin"
export PATH="$PATH:/sbin"
-[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"
-
[ -f /etc/profile.d/nix-daemon.sh ] && . /etc/profile.d/nix-daemon.sh