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

Fix iTerm2 terminal detection
This commit is contained in:
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

View File

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