From be24ec891ba19bb48410e2cb8f101e8859866194 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 30 Oct 2019 23:50:04 +0900 Subject: [PATCH] Fix tmux.conf for tmux 2.9 - https://qiita.com/TsutomuNakamura/items/663b8e456768f29e37ed - https://gist.github.com/tbutts/6abf7fb5b948c066bf180922fb37adcf --- tmux.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/tmux.conf b/tmux.conf index c26a4d0..827f30a 100644 --- a/tmux.conf +++ b/tmux.conf @@ -3,11 +3,9 @@ run-shell 'tmux set -g status-right "${USER}@`hostname` | `tmux -V`_"' -run-shell 'tmux set -g status-bg "$_HOSTCOLOR_1" >/dev/null' -run-shell 'tmux set -g status-fg "$_HOSTCOLOR_2" >/dev/null' -run-shell 'tmux set -g mode-bg "$_HOSTCOLOR_1" >/dev/null' -run-shell 'tmux set -g mode-fg "$_HOSTCOLOR_2" >/dev/null' -run-shell 'tmux set -g pane-active-border-fg "$_HOSTCOLOR_1" >/dev/null' +run-shell 'tmux set -g status-style bg=$_HOSTCOLOR_1,fg=$_HOSTCOLOR_2 >/dev/null' +run-shell 'tmux set -g mode-style bg=$_HOSTCOLOR_1,fg=$_HOSTCOLOR_2 >/dev/null' +run-shell 'tmux set -g pane-active-border-style fg=$_HOSTCOLOR_1 >/dev/null' unbind C-b set -g prefix C-z @@ -51,8 +49,6 @@ set -g automatic-rename on set -g status-interval 0 set -g status-keys emacs -set -g message-bg white -set -g message-fg black -setw -g window-status-current-bg white -setw -g window-status-current-fg black +set -g message-style bg=white,fg=black +setw -g window-status-current-style bg=white,fg=black #setw -g window-status-attr bold