zstyle ":completion:*:functions" ignored-patterns "_*"
zstyle ":completion:*" matcher-list "" 'm:{a-z\-}={A-Z\_}' 'r:|?=** m:{a-z\-}={A-Z\_}'
_mycomp () {
- [ $CURRENT -eq 1 ] && _command_names || _files && return 0
+ [ "$words[1]" != "man" ] || { _man && return 0 }
+ [ $CURRENT -eq 1 ] && _command_names || _files && return 0
# MAGIC_EQUAL_SUBST {{{
[[ "$PREFIX" = *\=* ]] || return 1
compstate[parameter]="${PREFIX%%\=*}"