From 8971d64eb6cdcfddb641d436992196a9624b608e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 28 Nov 2013 23:01:49 +0900 Subject: [PATCH] fix tmux.conf bug that version string wont update --- setup.sh | 2 +- tmux.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index d71e4ea..9083e6e 100755 --- a/setup.sh +++ b/setup.sh @@ -76,7 +76,7 @@ gen_tmux_conf_local(){ # $tmux_conf_local # Automatically generated from $0 -set -g status-right "${USER}@$(hostname) | $(tmux -V) " +set -g status-right "${USER}@$(hostname) | #(tmux -V) " set -g status-bg $tmux_bg_color set -g status-fg $tmux_fg_color diff --git a/tmux.conf b/tmux.conf index efacd2b..33e817d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -20,6 +20,10 @@ setw -g mode-mouse off set -g set-titles on set -g display-panes-time 5000 +# disable updating status-left and status-right +set status-interval 0 +set status-keys emacs + set -g message-bg white set -g message-fg black setw -g window-status-current-bg white