X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=ce6969569e1fa20ed93c7f6c2b86b6027fbad2a3;hb=724508d30c788da653579d44ac3566f27ffed1d6;hp=b804a7f028a5d4c0fed5966c79dc96a17223fe16;hpb=1b50f56ec3287b0d73eef304398540bf2304ec67;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index b804a7f..ce69695 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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