Conditionally source ~/.rc

This commit is contained in:
Eryn Wells 2012-04-17 23:35:27 -07:00
parent 0cdd328b3d
commit 7ba0953b36

3
zshrc
View file

@ -6,7 +6,7 @@
# Eryn Wells <eryn@erynwells.me> # Eryn Wells <eryn@erynwells.me>
# load bash/zsh/ksh agnostic configurations # load bash/zsh/ksh agnostic configurations
source $HOME/.rc [ -e $HOME/.rc ] && source $HOME/.rc
# PROMPT # PROMPT
# ' histnum bgjobsflag time (%|#)' # ' histnum bgjobsflag time (%|#)'
@ -183,6 +183,5 @@ function up {
fi fi
} }
[ -e $HOME/.zshrc.$SYS ] && source $HOME/.zshrc.$SYS [ -e $HOME/.zshrc.$SYS ] && source $HOME/.zshrc.$SYS
[ -e $HOME/.zshrc.local ] && source $HOME/.zshrc.local [ -e $HOME/.zshrc.local ] && source $HOME/.zshrc.local