1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-17 10:20:55 +01:00
zsh/Completion/User/_users_on
2000-03-23 04:19:26 +00:00

13 lines
269 B
Text

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