Mercurial > ec-dotfiles
comparison setup @ 737:002d6aa2d76e
[tmux] Remove legacy configs
author | nanaya <me@nanaya.net> |
---|---|
date | Thu, 09 Jan 2025 03:16:29 +0900 |
parents | 3281fed2e242 |
children |
comparison
equal
deleted
inserted
replaced
736:3281fed2e242 | 737:002d6aa2d76e |
---|---|
135 | 135 |
136 touch "${@}" | 136 touch "${@}" |
137 _echo "Ensured existence of ${*}" | 137 _echo "Ensured existence of ${*}" |
138 } | 138 } |
139 | 139 |
140 _tmux() { | |
141 # Remove old tmux config. | |
142 _rc uninstall "tmux.conf" ".tmux.conf" | |
143 for tmux_conf in "${rcdir}/tmux-"*.conf; do | |
144 tmux_conf_file="`basename "/${tmux_conf}"`" | |
145 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}" | |
146 done | |
147 } | |
148 | |
149 _vim_x() { | 140 _vim_x() { |
150 case "${1}" in | 141 case "${1}" in |
151 install) _echon "Copying";; | 142 install) _echon "Copying";; |
152 uninstall) _echon "Removing";; | 143 uninstall) _echon "Removing";; |
153 esac | 144 esac |
222 _touch "${1}" "${HOME}/.config/hg/hgrc.local" | 213 _touch "${1}" "${HOME}/.config/hg/hgrc.local" |
223 _rc "${1}" "hgignore_global" ".config/hg/ignore" | 214 _rc "${1}" "hgignore_global" ".config/hg/ignore" |
224 _touch "${1}" "${HOME}/.config/hg/ignore.local" | 215 _touch "${1}" "${HOME}/.config/hg/ignore.local" |
225 _rc "${1}" "editrc" ".editrc" | 216 _rc "${1}" "editrc" ".editrc" |
226 _rc "${1}" "inputrc" ".inputrc" | 217 _rc "${1}" "inputrc" ".inputrc" |
227 _tmux "${1}" | 218 _rc "${1}" "tmux.conf" ".config/tmux/tmux.conf" |
228 _vim_x "${1}" syntax | 219 _vim_x "${1}" syntax |
229 _vim_packs "${1}" | 220 _vim_packs "${1}" |
230 _rc "${1}" "vimrc" ".vimrc" | 221 _rc "${1}" "vimrc" ".vimrc" |
231 _rc "${1}" "irbrc" ".config/irb/irbrc" | 222 _rc "${1}" "irbrc" ".config/irb/irbrc" |
232 ;; | 223 ;; |