summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index ad9401f..fdf3d28 100644
--- a/.zshrc
+++ b/.zshrc
@@ -762,8 +762,10 @@ compdef _cd_pkg cd-pkg
umask 077
stty -ctlecho
-# machine dependent stuff
-source $HOME/.zshrc.local
+if [[ -e $HOME/.zshrc.local ]]; then
+ # machine dependent stuff
+ source $HOME/.zshrc.local
+fi
if [[ -e $HOME/git/dotfiles/.zsh/zsh-syntax-highlighting-git/zsh-syntax-highlighting.zsh ]]; then
source $HOME/git/dotfiles/.zsh/zsh-syntax-highlighting-git/zsh-syntax-highlighting.zsh