Browse Source

fix tmux.conf bug that version string wont update

pull/1/head
10sr 11 years ago
parent
commit
8971d64eb6
2 changed files with 5 additions and 1 deletions
  1. +1
    -1
      setup.sh
  2. +4
    -0
      tmux.conf

+ 1
- 1
setup.sh View File

@@ -76,7 +76,7 @@ gen_tmux_conf_local(){
# $tmux_conf_local # $tmux_conf_local
# Automatically generated from $0 # 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-bg $tmux_bg_color
set -g status-fg $tmux_fg_color set -g status-fg $tmux_fg_color


+ 4
- 0
tmux.conf View File

@@ -20,6 +20,10 @@ setw -g mode-mouse off
set -g set-titles on set -g set-titles on
set -g display-panes-time 5000 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-bg white
set -g message-fg black set -g message-fg black
setw -g window-status-current-bg white setw -g window-status-current-bg white


Loading…
Cancel
Save