diff options
author | Konfekt <Konfekt@users.noreply.github.com> | 2021-01-05 18:53:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 18:53:29 +0100 |
commit | 492f712df281e96d6d1aa9ebb53b1304284b19a0 (patch) | |
tree | de3c0f0595a45b9dd8d3104158dc6b10df7d5a3c /plugins/universalarchive/_universalarchive | |
parent | 2118d35e017eb8c599f3c25863c8263aca307541 (diff) | |
download | zsh-492f712df281e96d6d1aa9ebb53b1304284b19a0.tar.gz zsh-492f712df281e96d6d1aa9ebb53b1304284b19a0.tar.bz2 zsh-492f712df281e96d6d1aa9ebb53b1304284b19a0.zip |
feat(plugins): add `universalarchive` plugin to conveniently compress files (#6846)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
Diffstat (limited to 'plugins/universalarchive/_universalarchive')
-rw-r--r-- | plugins/universalarchive/_universalarchive | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/universalarchive/_universalarchive b/plugins/universalarchive/_universalarchive new file mode 100644 index 000000000..17cfd782e --- /dev/null +++ b/plugins/universalarchive/_universalarchive @@ -0,0 +1,6 @@ +#compdef ua + +_arguments \ + "1:archive format:(7z bz2 gz lzma lzo rar tar tar.bz2 tar.gz tar.lzma tar.xz tar.Z tbz tgz tlz txz tZ xz Z zip zst)" \ + "*:input files:_files" \ +&& return 0 |