mirror of
https://github.com/tmux-plugins/tmux-sensible.git
synced 2024-12-22 11:38:47 +00:00
Merge pull request #59 from jrjsmrtn/fix-iterm2-aggressive-resize
Fix iTerm2 terminal detection
This commit is contained in:
commit
44af8d8eff
@ -11,7 +11,7 @@ is_osx() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
iterm_terminal() {
|
iterm_terminal() {
|
||||||
[[ "$TERM_PROGRAM" =~ ^iTerm ]]
|
[[ "${TERM_PROGRAM}" =~ ^iTerm || "${LC_TERMINAL}" =~ ^iTerm ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
command_exists() {
|
command_exists() {
|
||||||
|
Loading…
Reference in New Issue
Block a user