From 57d999b7df6dfb724563100770d9a8cf36aec079 Mon Sep 17 00:00:00 2001 From: Georges Martin Date: Fri, 19 Mar 2021 15:10:57 +0100 Subject: [PATCH] Fix iTerm2 terminal detection Fixes: #24 --- sensible.tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensible.tmux b/sensible.tmux index 5cf2af6..96a218b 100755 --- a/sensible.tmux +++ b/sensible.tmux @@ -11,7 +11,7 @@ is_osx() { } iterm_terminal() { - [[ "$TERM_PROGRAM" =~ ^iTerm ]] + [[ "${TERM_PROGRAM}" =~ ^iTerm || "${LC_TERMINAL}" =~ ^iTerm ]] } command_exists() {