From 7ba0953b36a71a4e8342d7a4d9a34a84f9507341 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 17 Apr 2012 23:35:27 -0700 Subject: [PATCH] Conditionally source ~/.rc --- zshrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 1a18420..390cbfb 100644 --- a/zshrc +++ b/zshrc @@ -6,7 +6,7 @@ # Eryn Wells # load bash/zsh/ksh agnostic configurations -source $HOME/.rc +[ -e $HOME/.rc ] && source $HOME/.rc # PROMPT # ' histnum bgjobsflag time (%|#)' @@ -183,6 +183,5 @@ function up { fi } - [ -e $HOME/.zshrc.$SYS ] && source $HOME/.zshrc.$SYS [ -e $HOME/.zshrc.local ] && source $HOME/.zshrc.local