From d22b763a633628e1ba99722be6eeaf4c0332f0af Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 11:44:01 +0000 Subject: moved from Completion/User/_users_on --- Completion/Unix/Type/_users_on | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Completion/Unix/Type/_users_on (limited to 'Completion/Unix/Type/_users_on') diff --git a/Completion/Unix/Type/_users_on b/Completion/Unix/Type/_users_on new file mode 100644 index 000000000..ccda5b8fb --- /dev/null +++ b/Completion/Unix/Type/_users_on @@ -0,0 +1,11 @@ +#compdef write + +local expl + +if (( $+commands[users] )); then + _wanted users expl 'users logged on' \ + compadd "$@" - $(_call_program users users) && return 0 +else + # Other methods of finding out users logged on should be added here + return 1 +fi -- cgit 1.4.1