fork/fish-shell

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

Kid`file` completion nuances on macOSe6505d1c3

master
1.7 KiB28 linesraw
1#completion for file
2
3complete -c file -s b -l brief -d 'Do not prepend filenames to output lines'
4complete -c file -s c -l checking-printout -d 'Print the parsed form of the magic file'
5complete -c file -s C -l compile -d 'Write an output file containing a pre-parsed version of file'
6complete -c file -s h -l no-dereference -d 'Do not follow symlinks'
7
8if test (uname) = Darwin
9    complete -c file -s i -d 'Do not classify regular file contents'
10    complete -c file -s I -l mime -d 'Output mime type strings instead human readable strings'
11else
12    complete -c file -s i -l mime -d 'Output mime type strings instead human readable strings'
13end
14
15complete -c file -s k -l keep-going -d 'Don\'t stop at the first match'
16complete -c file -s L -l dereference -d 'Follow symlinks'
17complete -c file -s n -l no-buffer -d 'Flush stdout after checking each file'
18complete -c file -s N -l no-pad -d 'Don\'t pad filenames so that they align in the output'
19complete -c file -s p -l preserve-date -d 'Attempt to preserve the access time of files analyzed'
20complete -c file -s r -l raw -d 'Don\'t translate unprintable characters to octal'
21complete -c file -s s -l special-files -d 'Read block and character device files too'
22complete -c file -s v -l version -d 'Print the version of the program and exit'
23complete -c file -s z -l uncompress -d 'Try to look inside compressed files'
24complete -c file -l help -d 'Print a help message and exit'
25
26complete -r -c file -s f -l files-from -d 'Read  the  names of the files to be examined from a file'
27complete -r -c file -s F -l separator -d 'Use other string as result field separator instead of :'
28complete -r -c file -s m -l magic-file -d 'Alternate list of files containing magic numbers'