From 62e2db48ec6f4a6132e2e909f68e4628731466ee Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 9 Jun 2020 22:35:36 +0100 Subject: [PATCH] zsh: Add comment for $TERM_PROGRAM --- tag-zsh/zsh/configs/tmux.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tag-zsh/zsh/configs/tmux.zsh b/tag-zsh/zsh/configs/tmux.zsh index f74e28cd..2077aa64 100644 --- a/tag-zsh/zsh/configs/tmux.zsh +++ b/tag-zsh/zsh/configs/tmux.zsh @@ -4,6 +4,9 @@ _not_inside_tmux() { _not_inside_phpstorm() { if is_macos; then + # VS Code returns "vscode". + # iTerm returns "iTerm.app". + # PhpStorm returns nothing. [[ "$TERM_PROGRAM" != "" ]] elif is_linux; then [[ "$TERMINAL_EMULATOR" != "JetBrains"* ]]