# HG changeset patch # User nanaya # Date 1469367898 -32400 # Node ID 23e326f74bfd2179a6a23b5cb7581199cba17bbe # Parent 756cfd9f5bc8fddb912f6472ac11c2d79f578f0b tmux point version only goes up to 9 diff -r 756cfd9f5bc8 -r 23e326f74bfd rc/bashrc --- 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