From c076164572c929c296aa10caf7ff3c6ea88e69e0 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Mon, 2 Apr 2012 16:48:40 -0700 Subject: [PATCH] only set ZDOTDIR if ~/config/zsh exists --- zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshenv b/zshenv index c1d1e92..1e9cbaf 100755 --- a/zshenv +++ b/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