summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions')
-rw-r--r--etc/functions/rtab1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/functions/rtab b/etc/functions/rtab
index 2fcbf42..360e551 100644
--- a/etc/functions/rtab
+++ b/etc/functions/rtab
@@ -44,6 +44,7 @@ typeset -i i
(( tilde )) && dir=${dir/$HOME/\~}
tree=(${(s:/:)dir})
(
+ unfunction chpwd 2> /dev/null
if [[ $tree[1] = '~' ]] {
shift tree
cd ~