diff options
author | Alan Pearce | 2014-04-12 18:25:11 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-12 18:25:54 +0100 |
commit | d822d1211c7b6beb4b29277a28d47fade2825c94 (patch) | |
tree | 7516103aa5735a2bcaaf9fc963ba5f67dbd567af /tag-zsh/zshenv | |
parent | 2f341cd1fad7d855a2b6d4faa9025e0aaf08314c (diff) | |
download | nixfiles-d822d1211c7b6beb4b29277a28d47fade2825c94.tar.lz nixfiles-d822d1211c7b6beb4b29277a28d47fade2825c94.tar.zst nixfiles-d822d1211c7b6beb4b29277a28d47fade2825c94.zip |
zsh: Use (and set) XDG_CONFIG_HOME for $ZDOTDIR
Diffstat (limited to 'tag-zsh/zshenv')
-rw-r--r-- | tag-zsh/zshenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/zshenv b/tag-zsh/zshenv index 48b93e17..354c54da 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 |