Fix iTerm2 terminal detection

Fixes: #24
This commit is contained in:
Georges Martin 2021-03-19 15:10:57 +01:00
parent e91b178ff8
commit 57d999b7df

View File

@ -11,7 +11,7 @@ is_osx() {
} }
iterm_terminal() { iterm_terminal() {
[[ "$TERM_PROGRAM" =~ ^iTerm ]] [[ "${TERM_PROGRAM}" =~ ^iTerm || "${LC_TERMINAL}" =~ ^iTerm ]]
} }
command_exists() { command_exists() {