瀏覽代碼

fix tmux.conf bug that version string wont update

pull/1/head
10sr 10 年之前
父節點
當前提交
8971d64eb6
共有 2 個檔案被更改,包括 5 行新增1 行删除
  1. +1
    -1
      setup.sh
  2. +4
    -0
      tmux.conf

+ 1
- 1
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


+ 4
- 0
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


Loading…
取消
儲存