blob: 4d336695d0865bd94f29ed20307b91772ed14300 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#compdef unfunction
local expl ffilt
zstyle -t ":completion:${curcontext}:functions" prefix-needed && \
[[ $PREFIX != [_.]* ]] && \
ffilt='[(I)[^_.]*]'
_wanted functions expl 'shell function' compadd -k "$@" - "functions$ffilt"
|