fork/fish-shell

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

Johannes AltmanningerUse complete --keep-order with __fish_complete_suffix to prioritize files with matching suffixes4dae10691

master
2.4 KiB49 linesraw
1# Completions for zstdmt
2
3complete -c zstdmt -s z -l compress -d "Compress (default)"
4complete -c zstdmt -s d -l decompress -l uncompress -d Decompress -k -x -a "
5(
6    __fish_complete_suffix .zst
7)
8"
9
10complete -c zstdmt -s t -l test -d "Test the integrity"
11complete -r -c zstdmt -l train -d "Create a dictionary from specified file(s)"
12complete -c zstdmt -s l -l list -d "List information about .zst file(s)"
13
14for level in (seq 1 19)
15    complete -c zstdmt -o $level -d "Set compression level"
16end
17
18complete -c zstdmt -l fast -d "Ultra-fast compression"
19complete -c zstdmt -l ultra -d "Enable compression level beyond 19"
20complete -c zstdmt -l long -d "Enable long distance matching with specified windowLog"
21complete -c zstdmt -l single-thread -d "Single-thread mode"
22complete -c zstdmt -l adapt -d "Dynamically adapt compression level to I/O conditions"
23complete -c zstdmt -l stream-size -d "Optimize compression parameters for streaming input of specified bytes"
24complete -c zstdmt -l size-hint -d "Optimize compression parameters for streaming input of approximately this size"
25complete -c zstdmt -l rsyncable -d "Compress using a rsync-friendly method"
26complete -r -c zstdmt -s D -d "Use specified file as dictionary"
27complete -c zstdmt -l no-dictID -d "Do not write dictID into header"
28complete -r -c zstdmt -s o -d "Specify file to save"
29complete -c zstdmt -s f -l force -d "Overwrite without prompting"
30complete -c zstdmt -s c -l stdout -d "Force write to stdout"
31complete -c zstdmt -l sparse -d "Enable sparse mode"
32complete -c zstdmt -l no-sparse -d "Disable sparse mode"
33complete -c zstdmt -l rm -d "Remove input file(s) after de/compression"
34complete -c zstdmt -s k -l keep -d "Keep input file(s) (default)"
35complete -c zstdmt -s r -d "Recurse directories"
36complete -c zstdmt -l filelist -d "Read a list of files"
37complete -c zstdmt -l output-dir-flat -d "Specify a directory to output all files"
38
39for format in zstd gzip xz lzma lz4
40    complete -c zstdmt -l format="$format" -d "Specify the format to use for compression"
41end
42
43complete -c zstdmt -s h -l help -d "Show help"
44complete -c zstdmt -s H -d "Show long help"
45complete -c zstdmt -s V -l version -d "Show version"
46complete -c zstdmt -s v -l verbose -d "Be verbose"
47complete -c zstdmt -s q -l quiet -d "Suppress warnings"
48complete -c zstdmt -l no-progress -d "Do not show the progress bar"
49complete -c zstdmt -l no-check -d "Disable integrity check"