Explorar o código

Only include iterm2 integration if using iterm2

Kevin Heinicke %!s(int64=8) %!d(string=hai) anos
pai
achega
9de6196b76
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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