mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
feat(plugins): add universalarchive plugin to conveniently compress files (#6846)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
This commit is contained in:
parent
2118d35e01
commit
492f712df2
3 changed files with 122 additions and 0 deletions
6
plugins/universalarchive/_universalarchive
Normal file
6
plugins/universalarchive/_universalarchive
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue