diff options
author | Jan Máslo <janmaslo91@email.cz> | 2020-05-04 17:49:33 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2020-06-11 22:46:49 +0200 |
commit | dc5dfd19a206d73fde572b0a487546a17a1ebe93 (patch) | |
tree | c2cdf34b678ab0a336d792e8066be88a45717c92 /Completion/Linux/Command/_mat | |
parent | 1ee8ecd8ea06cf79b9c4da9b76fd55a86ee5fcf2 (diff) | |
download | zsh-dc5dfd19a206d73fde572b0a487546a17a1ebe93.tar.gz zsh-dc5dfd19a206d73fde572b0a487546a17a1ebe93.tar.xz zsh-dc5dfd19a206d73fde572b0a487546a17a1ebe93.zip |
gitlab !12: completion for mat & mat2
Diffstat (limited to 'Completion/Linux/Command/_mat')
-rw-r--r-- | Completion/Linux/Command/_mat | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_mat b/Completion/Linux/Command/_mat new file mode 100644 index 000000000..ff65167ff --- /dev/null +++ b/Completion/Linux/Command/_mat @@ -0,0 +1,19 @@ +#compdef mat + +# Completion for mat 0.6.1 (https://tails.boum.org/blueprint/doc/mat) + +local curcontext="$curcontext" state line +typeset -A opt_args +_arguments \ + '(- *)'{-h,--help}'[show help message and exit]' \ + '(-a --add2archive)'{-a,--add2archive}'[add to output archive non-supported filetypes]' \ + '(-b --backup)'{-b,--backup}'[keep a backup copy]' \ + '(-L --low-pdf-quality)'{-L,--low-pdf-quality}'[produces a lighter, but lower quality PDF]' \ + '(-c --check -b --backup)'{-c,--check}'[check if a file is free of harmful metadatas]' \ + '(-d --display -b --backup)'{-d,--display}'[list all the harmful metadata of a file without removing them]' \ + '(- *)'{-l,--list}'[list all supported fileformats]' \ + '(- *)'{-v,--version}"[show program's version number and exit]" \ + '*:file:_files -g "*.(tif|tiff|png|jpeg|jpg|jpe|odt|fodt|odx|odp|fodp|ods|fods|odg|fodg|docx|docm|pptx|pptm|xlsx|xlsm|pdf|tar|tar.bz2|tar.gz|zip|mp3|mp2|mp1|mpa|ogg|oga|flac|torrent)"' + # they are all that are in --list + # might not be all the supported files + |