# HG changeset patch # User nanaya # Date 1697662325 -32400 # Node ID 4f5b040a589c28af9fdf467044abcf90d6683dc5 # Parent c1ad9cc00624d5c84b1abd5d244a0360e7a4b6d7 Remove support for old openbsd tmux diff -r c1ad9cc00624 -r 4f5b040a589c rc/bashrc --- 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