mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-14 09:53:42 +08:00
8d56609734
Squashed commit of the following: commit 55c8e73faff2418161404f012440acced09580e4 Author: Shun Sakai <sorairolake@protonmail.ch> Date: Fri Nov 29 05:25:02 2019 +0900 Implementation of `zstdless` completions commit e81ae6f83fb9f23bdd6038fbf29ea594da098c2c Author: Shun Sakai <sorairolake@protonmail.ch> Date: Fri Nov 29 05:20:33 2019 +0900 Implementation of `zstdgrep` completions commit 2ade3a9c01bdc5b024f785c369fcb6c3e007cb19 Author: Shun Sakai <sorairolake@protonmail.ch> Date: Fri Nov 29 04:50:42 2019 +0900 Implementation of `pzstd` completions commit 0b9cb86a6936f3de18db7b2c012da6efec89c8e8 Author: Shun Sakai <sorairolake@protonmail.ch> Date: Fri Nov 29 04:39:52 2019 +0900 Implementation of `zstdcat` completions commit e4a4101d18a82fb06ee451560d079b9b81af5f3e Author: Shun Sakai <sorairolake@protonmail.ch> Date: Fri Nov 29 04:25:05 2019 +0900 Implementation of `unzstd` completions commit 88ad0af46d486a92ab3989c55abb3ff477e5a372 Author: Shun Sakai <sorairolake@protonmail.ch> Date: Fri Nov 29 04:18:38 2019 +0900 Implementation of `zstdmt` completions commit 13f2bf7951501031c61a5c0f143b8a29eaa9437e Author: Shun Sakai <sorairolake@protonmail.ch> Date: Fri Nov 29 01:13:52 2019 +0900 Implementation of `zstd` completions
50 lines
2.4 KiB
Fish
50 lines
2.4 KiB
Fish
# Completions for zstdmt
|
|
|
|
complete -c zstdmt -s z -l compress -d "Compress (default)"
|
|
complete -c zstdmt -s d -l decompress -l uncompress -d "Decompress" -x -a "
|
|
(
|
|
__fish_complete_suffix .zst
|
|
)
|
|
"
|
|
|
|
complete -c zstdmt -s t -l test -d "Test the integrity"
|
|
complete -r -c zstdmt -l train -d "Create a dictionary from specified file(s)"
|
|
complete -c zstdmt -s l -l list -d "List information about .zst file(s)"
|
|
|
|
for level in (seq 1 19)
|
|
complete -c zstdmt -o $level -d "Set compression level"
|
|
end
|
|
|
|
complete -c zstdmt -l fast -d "Ultra-fast compression"
|
|
complete -c zstdmt -l ultra -d "Enable compression level beyond 19"
|
|
complete -c zstdmt -l long -d "Enable long distance matching with specified windowLog"
|
|
complete -c zstdmt -l single-thread -d "Single-thread mode"
|
|
complete -c zstdmt -l adapt -d "Dynamically adapt compression level to I/O conditions"
|
|
complete -c zstdmt -l stream-size -d "Optimize compression parameters for streaming input of specified bytes"
|
|
complete -c zstdmt -l size-hint -d "Optimize compression parameters for streaming input of approximately this size"
|
|
complete -c zstdmt -l rsyncable -d "Compress using a rsync-friendly method"
|
|
complete -r -c zstdmt -s D -d "Use specified file as dictionary"
|
|
complete -c zstdmt -l no-dictID -d "Do not write dictID into header"
|
|
complete -r -c zstdmt -s o -d "Specify file to save"
|
|
complete -c zstdmt -s f -l force -d "Overwrite without prompting"
|
|
complete -c zstdmt -s c -l stdout -d "Force write to stdout"
|
|
complete -c zstdmt -l sparse -d "Enable sparse mode"
|
|
complete -c zstdmt -l no-sparse -d "Disable sparse mode"
|
|
complete -c zstdmt -l rm -d "Remove input file(s) after de/compression"
|
|
complete -c zstdmt -s k -l keep -d "Keep input file(s) (default)"
|
|
complete -c zstdmt -s r -d "Recurse directories"
|
|
complete -c zstdmt -l filelist -d "Read a list of files"
|
|
complete -c zstdmt -l output-dir-flat -d "Specify a directory to output all files"
|
|
|
|
for format in zstd gzip xz lzma lz4
|
|
complete -c zstdmt -l format="$format" -d "Specify the format to use for compression"
|
|
end
|
|
|
|
complete -c zstdmt -s h -l help -d "Show help"
|
|
complete -c zstdmt -s H -d "Show long help"
|
|
complete -c zstdmt -s V -l version -d "Show version"
|
|
complete -c zstdmt -s v -l verbose -d "Be verbose"
|
|
complete -c zstdmt -s q -l quiet -d "Suppress warnings"
|
|
complete -c zstdmt -l no-progress -d "Do not show the progress bar"
|
|
complete -c zstdmt -l no-check -d "Disable integrity check"
|