fish-shell/init/completions/id.fish

9 lines
424 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")