about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:43:44 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:43:44 +0000
commit2d5ff8436f26304d71447776c5f0a5745840a5a4 (patch)
tree8d954fb63644f04f3a45852444209fb2fc9b18d9 /Completion/Unix
parent613ab654f64a92b4a79946c1cb7362c0f261d121 (diff)
downloadzsh-2d5ff8436f26304d71447776c5f0a5745840a5a4.tar.gz
zsh-2d5ff8436f26304d71447776c5f0a5745840a5a4.tar.xz
zsh-2d5ff8436f26304d71447776c5f0a5745840a5a4.zip
moved from Completion/User/_users
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_users8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_users b/Completion/Unix/Type/_users
new file mode 100644
index 000000000..a7ea8b714
--- /dev/null
+++ b/Completion/Unix/Type/_users
@@ -0,0 +1,8 @@
+#compdef last passwd groups
+
+local expl users
+
+zstyle -a ":completion:${curcontext}:" users users &&
+    _wanted users expl user compadd "$@" -a users && return 0
+
+_wanted users expl user compadd "$@" -k userdirs