summaryrefslogtreecommitdiff
path: root/etc/functions/rtab
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/rtab')
-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"