mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
completions: complete users for id command and added two further options
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
complete -c id -xa "(__fish_complete_users)"
|
||||
|
||||
if string match -eq 'GNU coreutils' (id --version 2>&1)
|
||||
complete -c id -s Z -l context -d "Print security context"
|
||||
complete -c id -s z -l zero -d "Delimit entries with NUL"
|
||||
end
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user