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:
Andrew Tomaka 2015-06-22 13:38:47 -04:00
parent 2b391aa601
commit ff44e305c6

View file

@ -64,6 +64,5 @@ set-window-option -g window-status-current-fg black
set-option -g status-right '%d %b %Y @ %k:%M' set-option -g status-right '%d %b %Y @ %k:%M'
# because the new tmux is inadequate # because the new tmux is inadequate
if-shell 'tmux -V | grep -q 1.8' "source-file ~/.tmux.1-8.conf" source-file ~/.tmux.1-8.conf # always source the 1.8 file
if-shell 'tmux -V | grep -q 1.9' "source-file ~/.tmux.1-9.conf" if-shell 'tmux -V | grep -q "1.9\|2.0"' "source-file ~/.tmux.1-9.conf"
if-shell 'tmux -V | grep -q 2.0' "source-file ~/.tmux.1-9.conf"