diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-28 21:19:10 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-02-28 21:19:10 +0100 |
commit | 7967a46e74aef7cf89a5b630bdf0f3b31ca088d7 (patch) | |
tree | 8f2aaf01f4fbd0b7447850c85d306a75f323880b /etc | |
parent | 9e1a97e10d168c9e3f301d7366c435adac45a3ea (diff) |
rtab: Follow symlinks [Wayne Davison @ zsh-workers]
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/functions/rtab | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/rtab b/etc/functions/rtab index 8a5bc09..7276974 100755 --- a/etc/functions/rtab +++ b/etc/functions/rtab @@ -89,7 +89,7 @@ tree=(${(s:/:)dir}) until [[ (( ${#expn} == 1 )) || $dir = $expn || $i -gt 99 ]] do (( i++ )) part+=$dir[$i] - expn=($(echo ${part}*(/))) + expn=($(echo ${part}*(-/))) (( short )) && break done result+="/$part" |