diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-12 20:26:26 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-12 20:26:26 +0200 |
commit | a202ee6017621e5716588decf4a371f79371af80 (patch) | |
tree | 26fa546a09d916aab6f1d99cc838910f76a677a8 /etc/functions/rtab | |
parent | a6cf6e3c6496ffea9a0909a7aec17a0ceae75ebc (diff) |
rtab function: Don't return empty string when in /
Diffstat (limited to 'etc/functions/rtab')
-rw-r--r-- | etc/functions/rtab | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/functions/rtab b/etc/functions/rtab index bb7d225..b543493 100644 --- a/etc/functions/rtab +++ b/etc/functions/rtab @@ -70,5 +70,5 @@ tree=(${(s:/:)dir}) cd $dir shift tree } - echo $result + echo ${result:-/} ) |