diff rc/bashrc @ 559:fbf4507230e2

Improved tmux version detection?
author nanaya <me@myconan.net>
date Tue, 02 Jun 2015 19:36:11 +0900
parents daed3e2c9651
children 18cad636d1a2
line wrap: on
line diff
--- a/rc/bashrc	Fri May 29 04:53:28 2015 +0900
+++ b/rc/bashrc	Tue Jun 02 19:36:11 2015 +0900
@@ -280,8 +280,8 @@
   ;;
   *)
     case "$(tmux -V 2> /dev/null)" in
-    "tmux 1."[1-9][0-9]*|"tmux 1.9"*) _tmux_conf_ver=1.9;;
-    "tmux 1."[4-8]*) _tmux_conf_ver=1.4;;
+    "tmux 1."[1-9][0-9][0-9]*|"tmux 1.9"*|"tmux 2.0"*) _tmux_conf_ver=1.9;;
+    "tmux 1."[4-8]) _tmux_conf_ver=1.4;;
     *) _tmux_conf_ver=1.3;;
     esac
   ;;