Removing xunfunction()
[grml-etc-core.git] / etc / zsh / zshrc
index b804a7f..ce69695 100644 (file)
@@ -306,19 +306,6 @@ xcat() {
     return 0
 }
 
-# Remove these functions again, they are of use only in these
-# setup files. This should be called at the end of .zshrc.
-xunfunction() {
-    local -a funcs
-    funcs=(salias xcat xsource xunfunction zrcautoload)
-
-    for func in $funcs ; do
-        [[ -n ${functions[$func]} ]] \
-            && unfunction $func
-    done
-    return 0
-}
-
 # autoload wrapper - use this one instead of autoload directly
 function zrcautoload() {
     setopt local_options extended_glob