summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-02-28 21:19:10 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-02-28 21:19:10 +0100
commit7967a46e74aef7cf89a5b630bdf0f3b31ca088d7 (patch)
tree8f2aaf01f4fbd0b7447850c85d306a75f323880b /etc/functions
parent9e1a97e10d168c9e3f301d7366c435adac45a3ea (diff)
rtab: Follow symlinks [Wayne Davison @ zsh-workers]
Diffstat (limited to 'etc/functions')
-rwxr-xr-xetc/functions/rtab2
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"