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

12 lines
235 B
Plaintext
Raw Normal View History

1999-09-26 16:26:08 +02:00
#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