mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 15:57:02 +00:00
Match 'tmux' besides 'screen'.
This commit is contained in:
2
scripts/solarized8.sh
Normal file → Executable file
2
scripts/solarized8.sh
Normal file → Executable file
@@ -16,7 +16,7 @@ if [ "${TERM%%-*}" = 'linux' ]; then
|
|||||||
return 2>/dev/null || exit 0
|
return 2>/dev/null || exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$TERM" =~ "^screen.*" && -n "$TMUX" ]]; then
|
if [[ "$TERM" =~ "^\%(tmux\|screen\)" && -n "$TMUX" ]]; then
|
||||||
# tell tmux to pass the escape sequences through
|
# tell tmux to pass the escape sequences through
|
||||||
# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
|
# (Source: http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/1324)
|
||||||
printf_template="\033Ptmux;\033\033]4;%d;rgb:%s\007\033\\"
|
printf_template="\033Ptmux;\033\033]4;%d;rgb:%s\007\033\\"
|
||||||
|
|||||||
Reference in New Issue
Block a user