1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00
zsh/Completion/User/_users_on
2000-02-28 10:00:25 +00:00

13 lines
279 B
Text

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