diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-21 16:14:33 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-03-21 16:14:33 -0400 |
commit | c5fb55843c66f1ff6d4491009d9cf9781c0a3d7f (patch) | |
tree | 2192e1abfb7e85d866a5fd9efffb221bed0344cb /.config/wmii-hg/fixes.sh | |
parent | 81bdd77380a77945931687b334d47c95b7492a8d (diff) | |
parent | d65775a22e1648eca8e74389a4d9c1c299017cf3 (diff) |
Merge remote-tracking branch 'origin/master' into build64-par
Diffstat (limited to '.config/wmii-hg/fixes.sh')
-rw-r--r-- | .config/wmii-hg/fixes.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/wmii-hg/fixes.sh b/.config/wmii-hg/fixes.sh index aa09157..5858859 100644 --- a/.config/wmii-hg/fixes.sh +++ b/.config/wmii-hg/fixes.sh @@ -7,11 +7,11 @@ ## unalias ls &>/dev/null ls() { - real_ls="`which ls` -1F" - [ $# = 0 ] && set -- "`pwd`" + local real_ls=("$(which ls)" -1F) + [ $# = 0 ] && set -- "$PWD" f="${1/#${WMII_DIR}/}" if [ "$f" = "$1" ]; then - $real_ls "$f" + "${real_ls[@]}" "$f" else wmiir ls "$f" fi |