Mercurial > ec-dotfiles
comparison 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 | 4d037b0a9f41 |
comparison
equal
deleted
inserted
replaced
| 714:14e2910879f0 | 715:3f0fd2156612 |
|---|---|
| 284 OpenBSD) | 284 OpenBSD) |
| 285 _tmux_conf_ver=2.9 | 285 _tmux_conf_ver=2.9 |
| 286 ;; | 286 ;; |
| 287 *) | 287 *) |
| 288 case "$(tmux -V 2> /dev/null)" in | 288 case "$(tmux -V 2> /dev/null)" in |
| 289 "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;; | 289 "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;; |
| 290 "tmux 2."[2-8]) _tmux_conf_ver=2.2;; | 290 "tmux 2."[2-8]) _tmux_conf_ver=2.2;; |
| 291 "tmux 1.9"|"tmux 2."[0-1]) _tmux_conf_ver=1.9;; | 291 "tmux 1.9"|"tmux 2."[0-1]) _tmux_conf_ver=1.9;; |
| 292 "tmux 1."[4-8]) _tmux_conf_ver=1.4;; | 292 "tmux 1."[4-8]) _tmux_conf_ver=1.4;; |
| 293 *) _tmux_conf_ver=1.3;; | 293 *) _tmux_conf_ver=1.3;; |
| 294 esac | 294 esac |
