only set ZDOTDIR if ~/config/zsh exists

This commit is contained in:
Sami Samhuri 2012-04-02 16:48:40 -07:00
parent 4196dec07f
commit c076164572

2
zshenv
View file

@ -7,7 +7,7 @@ done
export path export path
typeset -U path typeset -U path
ZDOTDIR=~/config/zsh [[ -d "$HOME/config/zsh" ]] && ZDOTDIR="$HOME/config/zsh"
fpath=($fpath $ZDOTDIR/functions) fpath=($fpath $ZDOTDIR/functions)
typeset -U fpath typeset -U fpath