aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/id.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/id.fish')
-rw-r--r--share/completions/id.fish8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/completions/id.fish b/share/completions/id.fish
new file mode 100644
index 00000000..9826f434
--- /dev/null
+++ b/share/completions/id.fish
@@ -0,0 +1,8 @@
+complete -c id -s g -l group -d (_ "Print effective group id")
+complete -c id -s G -l groups -d (_ "Print all group ids")
+complete -c id -s n -l name -d (_ "Print name, not number")
+complete -c id -s r -l real -d (_ "Print real ID, not effective")
+complete -c id -s u -l user -d (_ "Print effective user ID")
+complete -c id -l help -d (_ "Display help and exit")
+complete -c id -l version -d (_ "Display version and exit")
+