mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 14:04:03 +01:00
14 lines
275 B
Plaintext
14 lines
275 B
Plaintext
#compdef write
|
|
|
|
local expl
|
|
|
|
_wanted users || return 1
|
|
|
|
if which users >/dev/null; then
|
|
_all_labels 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
|