fish-shell/share/completions/id.fish
Johannes Altmanninger 9c327b19a6 Fix extra or missing newlines at end of file in our fish scripts
New fish_indent does that too, so this will make any future reformatting
diffs smaller.

Done using either of:

	perl -pi -e 'undef $/; s/\n*$/\n/' share/**.fish
	kak -n -f '<a-/>\n*<ret>d' share/**.fish
2020-08-09 23:53:46 +02:00

8 lines
395 B
Fish

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"