conf2/zsh/.oh-my-zsh/plugins/extract/_extract

8 lines
287 B
Plaintext
Raw Normal View History

2019-01-12 15:47:23 +00:00
#compdef extract
#autoload
_arguments \
'(-r --remove)'{-r,--remove}'[Remove archive.]' \
2019-10-24 19:09:05 +00:00
"*::archive file:_files -g '(#i)*.(7z|Z|apk|aar|bz2|deb|gz|ipsw|jar|lzma|rar|sublime-package|tar|tar.bz2|tar.gz|tar.xz|tar.zma|tbz|tbz2|tgz|tlz|txz|war|whl|xpi|xz|zip)(-.)'" \
2019-01-12 15:47:23 +00:00
&& return 0