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
1.1 KiB28 linesraw
1# Completions for zstdcat
2
3complete -c zstdcat -k -x -a "
4(
5    __fish_complete_suffix .zst
6)
7"
8
9complete -c zstdcat -s t -l test -d "Test the integrity"
10complete -c zstdcat -s l -l list -d "List information about .zst file(s)"
11complete -c zstdcat -l long -d "Enable long distance matching with specified windowLog"
12complete -c zstdcat -l single-thread -d "Single-thread mode"
13complete -r -c zstdcat -s D -d "Use specified file as dictionary"
14complete -c zstdcat -l sparse -d "Enable sparse mode"
15complete -c zstdcat -l no-sparse -d "Disable sparse mode"
16complete -c zstdcat -s r -d "Recurse directories"
17complete -c zstdcat -l filelist -d "Read a list of files"
18
19for format in zstd gzip xz lzma lz4
20    complete -c zstdcat -l format="$format" -d "Specify the format to use for decompression"
21end
22
23complete -c zstdcat -s h -l help -d "Show help"
24complete -c zstdcat -s H -d "Show long help"
25complete -c zstdcat -s V -l version -d "Show version"
26complete -c zstdcat -s v -l verbose -d "Be verbose"
27complete -c zstdcat -s q -l quiet -d "Suppress warnings"
28complete -c zstdcat -l no-progress -d "Do not show the progress bar"