fork/fish-shell

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

Johannes Altmanningershare/**.fish: reformat with fish_indent13edce367

master
1.1 KiB19 linesraw
1if chmod --version &>/dev/null # gnu's not unix
2    complete chmod -s c -l changes -d 'Like -v but report only changes'
3    complete chmod -l no-preserve-root -d 'Don\'t treat / special (default)'
4    complete chmod -l preserve-root -d 'Fail to operate recursively on /'
5    complete chmod -s f -l silent -l quiet -d 'Suppress most errors'
6    complete chmod -s v -l verbose -d 'Prints each file processed'
7    complete chmod -l reference -d 'Use RFILEs mode instead of MODE values' -r
8    complete chmod -s R -l recursive -d 'Operate recursively'
9    complete chmod -l help -d 'Display help and exit'
10    complete chmod -l version -d 'Display version and exit'
11else # guess it might be unix
12    complete chmod -s f -d 'Suppress errors'
13    complete chmod -s H -d "Follow given symlinks with -R"
14    complete chmod -s h -d "Don't dereference given symlinks"
15    complete chmod -s L -d "Follow all symlinks with -R"
16    complete chmod -s P -d "Follow no symlinks with -R"
17    complete chmod -s R -d 'Operate recursively'
18    complete chmod -s v -d 'Prints each file processed'
19end