summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-04-12 18:25:11 +0100
committerAlan Pearce2014-04-12 18:25:54 +0100
commitd822d1211c7b6beb4b29277a28d47fade2825c94 (patch)
tree7516103aa5735a2bcaaf9fc963ba5f67dbd567af /tag-zsh
parent2f341cd1fad7d855a2b6d4faa9025e0aaf08314c (diff)
downloaddotfiles-d822d1211c7b6beb4b29277a28d47fade2825c94.tar.lz
dotfiles-d822d1211c7b6beb4b29277a28d47fade2825c94.tar.zst
dotfiles-d822d1211c7b6beb4b29277a28d47fade2825c94.zip
zsh: Use (and set) XDG_CONFIG_HOME for $ZDOTDIR
Diffstat (limited to 'tag-zsh')
-rw-r--r--tag-zsh/zshenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/zshenv b/tag-zsh/zshenv
index 48b93e1..354c54d 100644
--- a/tag-zsh/zshenv
+++ b/tag-zsh/zshenv
@@ -1,3 +1,3 @@
-ZDOTDIR="$HOME/.config/zsh"
+ZDOTDIR="${XDG_CONFIG_HOME:=$HOME/.config}/zsh"
 
 source "$ZDOTDIR"/.zshenv