Mercurial > ec-dotfiles
diff 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 |
line wrap: on
line diff
--- a/setup Sat Mar 15 22:24:40 2014 +0900 +++ b/setup Sun Mar 16 00:01:21 2014 +0900 @@ -125,7 +125,7 @@ # Remove old tmux config. _rc uninstall "tmux.conf" ".tmux.conf" for tmux_conf in "${rcdir}/tmux-"*.conf; do - tmux_conf_file="${tmux_conf##*/}" + tmux_conf_file="`basename "/${tmux_conf}"`" _rc "${1}" "${tmux_conf_file}" ".${tmux_conf_file}" done }