diff setup @ 737:002d6aa2d76e

[tmux] Remove legacy configs
author nanaya <me@nanaya.net>
date Thu, 09 Jan 2025 03:16:29 +0900
parents 3281fed2e242
children
line wrap: on
line diff
--- a/setup	Thu Jan 09 03:13:02 2025 +0900
+++ b/setup	Thu Jan 09 03:16:29 2025 +0900
@@ -137,15 +137,6 @@
   _echo "Ensured existence of ${*}"
 }
 
-_tmux() {
-  # Remove old tmux config.
-  _rc uninstall "tmux.conf" ".tmux.conf"
-  for tmux_conf in "${rcdir}/tmux-"*.conf; do
-    tmux_conf_file="`basename "/${tmux_conf}"`"
-    _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}"
-  done
-}
-
 _vim_x() {
   case "${1}" in
     install) _echon "Copying";;
@@ -224,7 +215,7 @@
     _touch "${1}" "${HOME}/.config/hg/ignore.local"
     _rc "${1}" "editrc" ".editrc"
     _rc "${1}" "inputrc" ".inputrc"
-    _tmux "${1}"
+    _rc "${1}" "tmux.conf" ".config/tmux/tmux.conf"
     _vim_x "${1}" syntax
     _vim_packs "${1}"
     _rc "${1}" "vimrc" ".vimrc"