# HG changeset patch # User nanaya # Date 1699420895 -32400 # Node ID 3f0fd21566129f24a5f53ca1ba50ce2d0f8a6f65 # Parent 14e2910879f00e2a91ca8be160f2528620263790 Handle tmux beta version diff -r 14e2910879f0 -r 3f0fd2156612 rc/bashrc --- a/rc/bashrc Thu Oct 19 05:52:45 2023 +0900 +++ b/rc/bashrc Wed Nov 08 14:21:35 2023 +0900 @@ -286,7 +286,7 @@ ;; *) case "$(tmux -V 2> /dev/null)" in - "tmux 2.9"|"tmux 2.9"[a-z]|"tmux "[3-9].[0-9]|"tmux "[3-9].[0-9][a-z]|"tmux "[1-9][0-9].[0-9]|"tmux "[1-9][0-9].[0-9][a-z]) _tmux_conf_ver=2.9;; + "tmux 2.9"|"tmux 2.9"[a-z]|"tmux "[3-9].[0-9]|"tmux "[3-9].[0-9][a-z]|"tmux "[1-9][0-9].[0-9]|"tmux "[1-9][0-9].[0-9][a-z]|"tmux next-"*) _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;;