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