Mercurial > ec-dotfiles
changeset 505:de5f65991cde
sh doesn't have parameter expansion :(
author | edogawaconan <me@myconan.net> |
---|---|
date | Sun, 16 Mar 2014 00:01:21 +0900 |
parents | 3253d9e5daf1 |
children | 84ad2517ac90 |
files | setup |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 }