[tmux] Handle version 1.9a
Need to regex check for the version match instead of looking for exactly
version 1.9.
change
commit 50a78c8adb83c124b6aed3cc89b04b4e41e1e0b4
author Alpha Chen <alpha.chen@gmail.com>
date
parent 6e545a1d
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index e29b003e..da12fa5d 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -90,7 +90,7 @@ bind -r - resize-pane -D 3
 bind -r + resize-pane -U 3
 bind -r = resize-pane -U 3
 
-if-shell "[[ `tmux -V` == *1.9 ]]" \
+if-shell "[[ `tmux -V` =~ '1.9' ]]" \
   "set-option -g renumber-windows on; \
    bind c new-window -c '#{pane_current_path}'; \
    bind C-c new-window -c '#{pane_current_path}'; \