summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 1740c82..b8c9d48 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -1,4 +1,4 @@
# ZSH SPECIFIC CONFIGS
unset HISTFILE
-[ -f "$HOME/.profile" ] && . "$HOME/.profile"
-export ZDOTDIR=$HOME/.config/zsh
+export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
+[ -f "$XDG_CONFIG_HOME/sh/profile" ] && . "$XDG_CONFIG_HOME/sh/profile"