fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes Altmanningershare/**.fish: reformat with fish_indent13edce367

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