# HG changeset patch # User nanaya # Date 1579095776 -32400 # Node ID d36b8abe71ec566b0048ed51f91ac6b134778744 # Parent 758ced52ee62739556c095e92e58b87be4647679 [bash] Fix tmux version parser diff -r 758ced52ee62 -r d36b8abe71ec rc/bashrc --- a/rc/bashrc Tue Jan 14 11:10:49 2020 +0900 +++ b/rc/bashrc Wed Jan 15 22:42:56 2020 +0900 @@ -301,7 +301,7 @@ ;; *) case "$(tmux -V 2> /dev/null)" in - "tmux 2."[9][a-z]*|"tmux "[3-9]"."[0-9]|"tmux "[1-9][0-9][0.9]*"."[0-9]) _tmux_conf_ver=2.9;; + "tmux 2."[9][a-z]*|"tmux "[3-9]"."[0-9][a-z]*|"tmux "[1-9][0-9][0.9]*"."[0-9][a-z]*) _tmux_conf_ver=2.9;; "tmux 2."[2-8]) _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;;