Explorar el Código

local files existence check

Josh Bicking hace 4 años
padre
commit
78aa079ea0
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 ]