summary refs log tree commit diff
diff options
context:
space:
mode:
-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