From: Alexander Barton Date: Sat, 20 Apr 2024 14:00:21 +0000 (+0200) Subject: iterm2: Don't enable shell integrations inside of VIM X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=60a876aab06ae794653c24e13b537627c44a22c9;p=ax-zsh.git iterm2: Don't enable shell integrations inside of VIM --- diff --git a/plugins/iterm2/iterm2.zshrc b/plugins/iterm2/iterm2.zshrc index 00f8c61..b2caa64 100644 --- a/plugins/iterm2/iterm2.zshrc +++ b/plugins/iterm2/iterm2.zshrc @@ -7,6 +7,7 @@ axzsh_is_modern_terminal || return 91 [[ -o interactive ]] || return 91 [[ -z "$ITERM_SHELL_INTEGRATION_INSTALLED" ]] || return 91 +[[ -z "$VIM_TERMINAL" ]] || return 91 [[ "${ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX-}$TERM" =~ "^screen" ]] && return 91 [[ "${ITERM_ENABLE_SHELL_INTEGRATION_WITH_TMUX-}$TERM" =~ "^tmux" ]] && return 91