repo.or.cz
/
zsh.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
26763: fix problem on failed cd -s to relative path
[zsh.git]
/
Completion
/
Unix
/
Type
/
_users_on
blob
ccda5b8fb600870a765b15b69e7e1c43bf98210d
1
#compdef write
2
3
local expl
4
5
if (( $+commands[users] )); then
6
_wanted users expl 'users logged on' \
7
compadd "$@" - $(_call_program users users) && return 0
8
else
9
# Other methods of finding out users logged on should be added here
10
return 1
11
fi