Always override ZDOTDIR if it's just set to ~
This commit is contained in:
parent
9a16f59378
commit
a3e784bd5e
1 changed files with 1 additions and 0 deletions
1
zshenv
1
zshenv
|
@ -28,4 +28,5 @@ fi
|
||||||
|
|
||||||
# The real zsh config lives in XDG_CONFIG_HOME! ;)
|
# The real zsh config lives in XDG_CONFIG_HOME! ;)
|
||||||
: ${ZDOTDIR:=$XDG_CONFIG_HOME/zsh}
|
: ${ZDOTDIR:=$XDG_CONFIG_HOME/zsh}
|
||||||
|
[[ $ZDOTDIR = $HOME ]] && ZDOTDIR=$XDG_CONFIG_HOME/zsh
|
||||||
source $ZDOTDIR/zshenv
|
source $ZDOTDIR/zshenv
|
||||||
|
|
Loading…
Reference in a new issue