Browse Source

local files existence check

Josh Bicking 4 years ago
parent
commit
78aa079ea0
1 changed files with 3 additions and 1 deletions
  1. 3 1
      zsh/.zshrc

+ 3 - 1
zsh/.zshrc

@@ -1,5 +1,7 @@
 # local zsh config
-source ~/.zshrc.local
+if [ -f ~/.zshrc.local ]; then
+    source ~/.zshrc.local
+fi
 
 # load antigen if it exists
 if [ -h ~/.antigen.zsh ]