mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
12 lines
235 B
Plaintext
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
|