Explorar o código

check for neccessary files to prevent startup errors

Kevin Heinicke %!s(int64=9) %!d(string=hai) anos
pai
achega
649dc62533
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      zshrc

+ 3 - 1
zshrc

@@ -60,4 +60,6 @@ if [ -f ~/virtualenvwrapper.sh ]; then
     export VIRTUAL_ENV_DISABLE_PROMT=yes
 fi
 
-test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
+if [ -f ~/.iterm2_shell_integration.zsh ]; then
+    test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
+fi