summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-06-05 09:13:38 -0500
committerzachir <zachir@librem.one>2024-06-05 09:13:38 -0500
commitda3f4eb9282cd74be36d026970fbed3c74123acc (patch)
tree33600e6d1e09aff3cb6c57fa4dcf1fe2b2404f86 /zsh
parent895725a55d39a2787bb4769ca3b72b061d8b40a4 (diff)
parent264887ed84beef92f70ff4c05d5079eed03d19c4 (diff)
Merge branch 'master' into cla
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"