1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-03 08:11:03 +02:00
zsh/Completion/User/_users
1999-09-09 09:30:07 +00:00

13 lines
264 B
Text

#autoload
# If a parameter `users' exists and it is an array, we first try to
# complete only to its elements.
local expl
_description expl user
[[ "${(t)users}" = *array* ]] &&
compadd "$expl[@]" "$@" - "$users[@]" && return 0
compgen "$@" "$expl[@]" -u