More versions exist than 1.8, 1.9, and 2.0
This is a temporary fix. It will run the 1.8 conf by default. Settings in that will be overridden if tmux is version 1.9 or 2.0. This should be good enough for now.
This commit is contained in:
parent
2b391aa601
commit
ff44e305c6
1 changed files with 2 additions and 3 deletions
|
@ -64,6 +64,5 @@ set-window-option -g window-status-current-fg black
|
|||
set-option -g status-right '%d %b %Y @ %k:%M'
|
||||
|
||||
# because the new tmux is inadequate
|
||||
if-shell 'tmux -V | grep -q 1.8' "source-file ~/.tmux.1-8.conf"
|
||||
if-shell 'tmux -V | grep -q 1.9' "source-file ~/.tmux.1-9.conf"
|
||||
if-shell 'tmux -V | grep -q 2.0' "source-file ~/.tmux.1-9.conf"
|
||||
source-file ~/.tmux.1-8.conf # always source the 1.8 file
|
||||
if-shell 'tmux -V | grep -q "1.9\|2.0"' "source-file ~/.tmux.1-9.conf"
|
||||
|
|
Loading…
Reference in a new issue