Mercurial > ec-dotfiles
diff rc/shellinit-posix @ 737:002d6aa2d76e
[tmux] Remove legacy configs
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 09 Jan 2025 03:16:29 +0900 |
parents | 92eb89781346 |
children |
line wrap: on
line diff
--- a/rc/shellinit-posix Thu Jan 09 03:13:02 2025 +0900 +++ b/rc/shellinit-posix Thu Jan 09 03:16:29 2025 +0900 @@ -9,24 +9,6 @@ export LC_COLLATE=C export LC_MESSAGES=C -if command -v tmux > /dev/null 2>&1; then - case "${_os}" in - OpenBSD) - # FIXME: OpenBSD version check - _tmux_conf_ver=1.9 - ;; - *) - case "$(tmux -V 2> /dev/null)" in - "tmux 1."[1-9][0-9]*|"tmux 1.9"*) _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 - if command -v vim > /dev/null 2>&1; then alias vi=vim export EDITOR=vim