zsh: Add comment for $TERM_PROGRAM

This commit is contained in:
Oliver Davies 2020-06-09 22:35:36 +01:00
parent 29171bba91
commit 62e2db48ec

View file

@ -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"* ]]