summaryrefslogtreecommitdiff
path: root/etc/functions
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-20 17:06:02 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-20 17:06:02 +0200
commit4f9795aba5e2dd238385bb9b37bbc354339aff21 (patch)
treefbf1b2809e92254201681c64a7d6949e3914f711 /etc/functions
parent28c50ffb22edeece40b2c6adab52050e91b767bd (diff)
rtab: unfunction chpwd
chpwd is useless within the function
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 ~