Mercurial > ec-dotfiles
diff rc/bashrc @ 737:002d6aa2d76e
[tmux] Remove legacy configs
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 09 Jan 2025 03:16:29 +0900 |
parents | ef7fa8396997 |
children | 687d9ee4a5c9 |
line wrap: on
line diff
--- a/rc/bashrc Thu Jan 09 03:13:02 2025 +0900 +++ b/rc/bashrc Thu Jan 09 03:16:29 2025 +0900 @@ -279,25 +279,6 @@ alias 0pp="gzip | curl 'https://paste.myconan.net/pastes.txt' -F 'paste[is_private]=1' -F 'paste[paste_gzip]=@-'" fi -if command -v tmux > /dev/null 2>&1; then - case "${_os}" in - OpenBSD) - _tmux_conf_ver=2.9 - ;; - *) - 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 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;; - *) _tmux_conf_ver=1.3;; - esac - ;; - esac - alias tmux="tmux -f '""${HOME}""/.tmux-""${_tmux_conf_ver}"".conf'" - unset _tmux_conf_ver -fi - unset _os unset _uid unset i