changeset 591:23e326f74bfd

tmux point version only goes up to 9
author nanaya <me@myconan.net>
date Sun, 24 Jul 2016 22:44:58 +0900
parents 756cfd9f5bc8
children 902e74024e54 2ac0fa5ba73c
files rc/bashrc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rc/bashrc	Sun Jul 24 22:41:54 2016 +0900
+++ b/rc/bashrc	Sun Jul 24 22:44:58 2016 +0900
@@ -293,8 +293,8 @@
   ;;
   *)
     case "$(tmux -V 2> /dev/null)" in
-    "tmux 2."[2-9]|"tmux 2."[1-9][0-9][0-9]*) _tmux_conf_ver=2.2;;
-    "tmux 1.9"|"tmux 1."[1-9][0-9][0-9]*|"tmux 2."[0-1]) _tmux_conf_ver=1.9;;
+    "tmux 2."[2-9]|"tmux "[3-9]"."[0-9]|"tmux "[1-9][0-9][0.9]*"."[0-9]) _tmux_conf_ver=2.2;;
+    "tmux 1.9"|"tmux 2."[0-1]) _tmux_conf_ver=1.9;;
     "tmux 1."[4-8]) _tmux_conf_ver=1.4;;
     *) _tmux_conf_ver=1.3;;
     esac