Fix iTerm2 terminal detection

Fixes: #24
pull/59/head
Georges Martin 2021-03-19 15:10:57 +01:00
parent e91b178ff8
commit 57d999b7df
1 changed files with 1 additions and 1 deletions

View File

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