2011-02-04 03:46:52 +00:00
|
|
|
#compdef extract
|
|
|
|
#autoload
|
|
|
|
|
|
|
|
_arguments \
|
|
|
|
'(-r --remove)'{-r,--remove}'[Remove archive.]' \
|
2020-07-18 14:32:50 +00:00
|
|
|
"*::archive file:_files -g '(#i)*.(7z|Z|apk|aar|bz2|deb|gz|ipa|ipsw|jar|lrz|lz4|lzma|rar|rpm|sublime-package|tar|tar.bz2|tar.gz|tar.lrz|tar.lz|tar.lz4|tar.xz|tar.zma|tar.zst|tbz|tbz2|tgz|tlz|txz|tzst|war|whl|xpi|xz|zip|zst)(-.)'" \
|
2016-09-29 11:38:01 +00:00
|
|
|
&& return 0
|