Mercurial > ec-dotfiles
diff rc/bashrc @ 713:4f5b040a589c
Remove support for old openbsd tmux
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 19 Oct 2023 05:52:05 +0900 |
parents | c1ad9cc00624 |
children | 14e2910879f0 |
line wrap: on
line diff
--- a/rc/bashrc Thu Oct 19 05:51:50 2023 +0900 +++ b/rc/bashrc Thu Oct 19 05:52:05 2023 +0900 @@ -30,7 +30,6 @@ export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games" _os="$(uname -s)" -_os_r="$(uname -r)" # pkgsrc if test -d /usr/pkg; then @@ -286,15 +285,7 @@ if command -v tmux > /dev/null 2>&1; then case "${_os}" in OpenBSD) - case "${_os_r}" in - 6.[5-9]|[7-9].[0-9]|[1-9][0-9][0-9]*.[0-9]) _tmux_conf_ver=2.9 - ;; - *) - # probably not accurate enough but I don't want to dig through all the previous versions. - _tmux_conf_ver=2.2 - ;; - esac ;; *) case "$(tmux -V 2> /dev/null)" in @@ -311,7 +302,6 @@ fi unset _os -unset _os_r unset _uid unset i