mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Add completions for p7zip
This commit is contained in:
parent
d4fafc15ca
commit
25e9a758ad
4 changed files with 66 additions and 0 deletions
|
@ -119,6 +119,7 @@ Completions
|
|||
|
||||
- Added completions for
|
||||
|
||||
- ``7z``, ``7za`` and ``7zr``
|
||||
- ``apk``
|
||||
- ``asciidoctor``
|
||||
- ``cmark``
|
||||
|
|
59
share/completions/7z.fish
Normal file
59
share/completions/7z.fish
Normal file
|
@ -0,0 +1,59 @@
|
|||
# Completions for p7zip
|
||||
|
||||
# Commands
|
||||
complete -f -c 7z -n __fish_use_subcommand -a a -d "Add"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a b -d "Benchmark"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a d -d "Delete"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a e -d "Extract"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a h -d "Hash"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a i -d "Show information about supported formats"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a l -d "List"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a rn -d "Rename"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a t -d "Test"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a u -d "Update"
|
||||
complete -f -c 7z -n __fish_use_subcommand -a x -d "Extract with full paths"
|
||||
|
||||
# Switches
|
||||
complete -f -c 7z -o - -d "Stop switches parsing"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from e l t x" -o ai -d "Include archives"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from e l t x" -o an -d "Disable archive_name field"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from e x" -o ao -d "Overwrite mode"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from e l t x" -o ax -d "Exclude archives"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e u x" -o bb -d "Set output log level"
|
||||
complete -f -c 7z -o bd -d "Disable progress indicator"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e h l u x" -o bs -d "Set output stream"
|
||||
complete -f -c 7z -o bt -d "Show execution time statistics"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e h l rn t u x" -o i -d "Include filenames"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d h rn u" -o m -d "Set compression method"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from e x" -o o -d "Set output directory"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e rn t u x" -o p -d "Set password"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e h l rn t u x" -o r -d "Recurse subdirectories"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a" -o sa -d "Set archive name mode"
|
||||
complete -f -c 7z -o scc -d "Set charset for console I/O"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from e h x" -o scrc -d "Set hash function"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a u" -o scs -d "Set charset for list files"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a" -o sdel -d "Delete files after compression"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a u" -o seml -d "Send archive by email"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d u" -o sfx -d "Create SFX archive"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a e h u x" -o si -d "Read data from stdin"
|
||||
complete -f -c 7z -o slp -d "Set large pages mode"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from l" -o slt -d "Show technical information"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a e u x" -o sni -d "Store NT security information"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e h l t u x" -o sns -d "Store NTFS alternate streams"
|
||||
complete -f -c 7z -o snh -d "Store hard links"
|
||||
complete -f -c 7z -o snl -d "Store symbolic links"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a e u x" -o so -d "Write data to stdout"
|
||||
complete -f -c 7z -o spd -d "Disable wildcard matching"
|
||||
complete -f -c 7z -o spe -d "Eliminate duplication of root folder"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e u x" -o spf -d "Use fully qualified file paths"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e l t u x" -o ssc -d "Set sensitive case mode"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a h u" -o ssw -d "Compress shared files"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d rn u" -o stl -d "Set archive timestamp"
|
||||
complete -f -c 7z -o stm -d "Set CPU thread affinity mask"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e l t u x" -o stx -d "Exclude archive type"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e l t u x" -o t -d "Type of archive"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d rn u" -o u -d "Update options"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a" -o v -d "Create volumes"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d rn u" -o w -d "Assign work directory"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from a d e h l rn t u x" -o x -d "Exclude filenames"
|
||||
complete -f -c 7z -n "__fish_seen_subcommand_from e x" -o y -d "Assume yes on all queries"
|
3
share/completions/7za.fish
Normal file
3
share/completions/7za.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Completions for p7zip
|
||||
|
||||
complete -c 7za -w 7z
|
3
share/completions/7zr.fish
Normal file
3
share/completions/7zr.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Completions for p7zip
|
||||
|
||||
complete -c 7zr -w 7z
|
Loading…
Reference in a new issue