diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-20 17:06:02 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-20 17:06:02 +0200 |
commit | 4f9795aba5e2dd238385bb9b37bbc354339aff21 (patch) | |
tree | fbf1b2809e92254201681c64a7d6949e3914f711 /etc/functions | |
parent | 28c50ffb22edeece40b2c6adab52050e91b767bd (diff) |
rtab: unfunction chpwd
chpwd is useless within the function
Diffstat (limited to 'etc/functions')
-rw-r--r-- | etc/functions/rtab | 1 |
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 ~ |