From c53e245700cb7c669106de3dc4b80a217cd74711 Mon Sep 17 00:00:00 2001 From: Lifepillar Date: Wed, 6 Mar 2019 10:48:52 +0100 Subject: [PATCH] Match 'tmux' besides 'screen'. --- scripts/solarized8.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/solarized8.sh diff --git a/scripts/solarized8.sh b/scripts/solarized8.sh old mode 100644 new mode 100755 index 7ef70e5..b123291 --- a/scripts/solarized8.sh +++ b/scripts/solarized8.sh @@ -16,7 +16,7 @@ if [ "${TERM%%-*}" = 'linux' ]; then return 2>/dev/null || exit 0 fi -if [[ "$TERM" =~ "^screen.*" && -n "$TMUX" ]]; then +if [[ "$TERM" =~ "^\%(tmux\|screen\)" && -n "$TMUX" ]]; then # tell tmux to pass the escape sequences through # (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324) printf_template="\033Ptmux;\033\033]4;%d;rgb:%s\007\033\\"