# HG changeset patch # User edogawaconan # Date 1394895681 -32400 # Node ID de5f65991cde781b6c00155faea81f9946966047 # Parent 3253d9e5daf1b303484bce188c0f56938b060a84 sh doesn't have parameter expansion :( diff -r 3253d9e5daf1 -r de5f65991cde setup --- 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 }