only set ZDOTDIR if ~/config/zsh exists
This commit is contained in:
parent
4196dec07f
commit
c076164572
1 changed files with 1 additions and 1 deletions
2
zshenv
2
zshenv
|
|
@ -7,7 +7,7 @@ done
|
|||
export path
|
||||
typeset -U path
|
||||
|
||||
ZDOTDIR=~/config/zsh
|
||||
[[ -d "$HOME/config/zsh" ]] && ZDOTDIR="$HOME/config/zsh"
|
||||
|
||||
fpath=($fpath $ZDOTDIR/functions)
|
||||
typeset -U fpath
|
||||
|
|
|
|||
Loading…
Reference in a new issue