Merge pull request #59 from jrjsmrtn/fix-iterm2-aggressive-resize

Fix iTerm2 terminal detection
pull/51/merge
Bruno Sutic 2021-03-20 11:48:04 +01:00 committed by GitHub
commit 44af8d8eff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {