Signed-off-by: Frank Terbeck <ft@grml.org>
xunfunction() {
emulate -L zsh
local -a funcs
xunfunction() {
emulate -L zsh
local -a funcs
- funcs=(salias xcat xsource xunfunction zrcautoload
- zrcautozle
- zrcbindkey
- zrcgotkeymap
- zrcgotwidget)
+ funcs=(salias xcat xsource xunfunction zrcautoload zrcautozle)
for func in $funcs ; do
[[ -n ${functions[$func]} ]] \
&& unfunction $func
for func in $funcs ; do
[[ -n ${functions[$func]} ]] \
&& unfunction $func