1
0
Эх сурвалжийг харах

Only include iterm2 integration if using iterm2

Kevin Heinicke 8 жил өмнө
parent
commit
9de6196b76
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      zshrc

+ 1 - 1
zshrc

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