Mercurial > ec-dotfiles
diff rc/bashrc @ 715:3f0fd2156612
Handle tmux beta version
author | nanaya <me@nanaya.net> |
---|---|
date | Wed, 08 Nov 2023 14:21:35 +0900 |
parents | 14e2910879f0 |
children |
line wrap: on
line diff
--- 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;;