mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2026-09-10 07:36:17 -04:00
add tmux check condition
This commit is contained in:
parent
4e511a561d
commit
c44cd578ec
|
|
@ -16,7 +16,7 @@ if [ "${TERM%%-*}" = 'linux' ]; then
|
|||
return 2>/dev/null || exit 0
|
||||
fi
|
||||
|
||||
if [ -n "$TMUX" ]; then
|
||||
if [[ "$TERM" =~ "^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\\"
|
||||
|
|
|
|||
Loading…
Reference in a new issue