fork/fish-shell

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

Fabian HomborgReindent functions to remove useless quotes9367d4ff7

master
1.2 KiB20 linesraw
1# Completions for patool
2
3# Global options
4complete -f -c patool -s h -l help -d "Show help message"
5complete -f -c patool -n __fish_no_arguments -s v -l verbose -d "Be verbose"
6complete -f -c patool -n __fish_no_arguments -l non-interactive -d "Run in batch mode"
7
8# Commands
9complete -f -c patool -n __fish_use_subcommand -a extract -d "Extract archive(s)"
10complete -f -c patool -n __fish_use_subcommand -a list -d "List files in archive(s)"
11complete -f -c patool -n __fish_use_subcommand -a create -d "Create archive"
12complete -f -c patool -n __fish_use_subcommand -a test -d "Test archive(s)"
13complete -f -c patool -n __fish_use_subcommand -a repack -d "Repackage archive to different format"
14complete -f -c patool -n __fish_use_subcommand -a recompress -d "Recompress archive to smaller"
15complete -f -c patool -n __fish_use_subcommand -a diff -d "Differences between two archives"
16complete -f -c patool -n __fish_use_subcommand -a search -d "Search contents of archive"
17complete -f -c patool -n __fish_use_subcommand -a formats -d "Show supported formats"
18
19# extract option
20complete -c patool -n "__fish_seen_subcommand_from extract" -l outdir -d "Specify output directory"