1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 14:04:03 +01:00
zsh/Completion/User/_users_on
1999-09-26 14:26:08 +00:00

12 lines
235 B
Plaintext

#autoload write
local expl
if which users >/dev/null; then
_description expl users logged on
compadd "$@" "$expl[@]" - $(users) && return 0
else
# Other methods of finding out users logged on should be added here
return 1
fi