fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
13edce367
master
1if chgrp --version&> /dev/null# not unix 2complete -c chgrp -s c -l changes -d"Output diagnostic for changed files" 3complete -c chgrp -l dereference -d"Dereference symlinks" 4complete -c chgrp -s h -l no-dereference -d"Don't dereference symlinks" 5complete -c chgrp -l from -d"Change from owner/group" 6complete -c chgrp -s f -l silent -d"Suppress errors" 7complete -c chgrp -l reference -d"Use same owner/group as file" -r 8complete -c chgrp -s R -l recursive -d"Operate recursively" 9complete -c chgrp -s v -l verbose -d"Output diagnostic for every file" 10complete -c chgrp -l help -d"Display help and exit" 11complete -c chgrp -l version -d"Display version and exit" 12complete -c chgrp -d Group -a"(__fish_complete_groups)" 13else # not Linux 14complete -c chgrp -s h -d"Don't dereference symlinks" 15complete -c chgrp -s H -d"Follow specified symlinks with -R" 16complete -c chgrp -s L -d"Follow all symlinks with -R" 17complete -c chgrp -s P -d"Follow no symlinks with -R" 18complete -c chgrp -s f -d"Suppress errors" 19complete -c chgrp -s n -d"id is numeric; avoid lookup" 20complete -c chgrp -s R -d"Operate recursively" 21complete -c chgrp -s v -d"Output filenames" 22complete -c chgrp -s x -d"Don't traverse fs mountpoints" 23complete -c chgrp -d Group -a"(__fish_complete_groups)" 24end