Mercurial > ec-dotfiles
comparison setup @ 505:de5f65991cde
sh doesn't have parameter expansion :(
author | edogawaconan <me@myconan.net> |
---|---|
date | Sun, 16 Mar 2014 00:01:21 +0900 |
parents | e2b52663763b |
children | bbcffc594d1e |
comparison
equal
deleted
inserted
replaced
504:3253d9e5daf1 | 505:de5f65991cde |
---|---|
123 | 123 |
124 _tmux() { | 124 _tmux() { |
125 # Remove old tmux config. | 125 # Remove old tmux config. |
126 _rc uninstall "tmux.conf" ".tmux.conf" | 126 _rc uninstall "tmux.conf" ".tmux.conf" |
127 for tmux_conf in "${rcdir}/tmux-"*.conf; do | 127 for tmux_conf in "${rcdir}/tmux-"*.conf; do |
128 tmux_conf_file="${tmux_conf##*/}" | 128 tmux_conf_file="`basename "/${tmux_conf}"`" |
129 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}" | 129 _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}" |
130 done | 130 done |
131 } | 131 } |
132 | 132 |
133 _help() { | 133 _help() { |