zsh: Add comment for $TERM_PROGRAM
This commit is contained in:
parent
29171bba91
commit
62e2db48ec
|
@ -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"* ]]
|
||||
|
|
Loading…
Reference in a new issue