]> git.rmz.io Git - dotfiles.git/blob - zsh/plugins/extract/_extract
dca890954aaad3e36543d18b6fc8b04c090cfc7d
[dotfiles.git] / zsh / plugins / extract / _extract
1 #compdef extract
2 #autoload
3
4 _arguments \
5 '(-r --remove)'{-r,--remove}'[Remove archive.]' \
6 "*::archive file:_files -g '(#i)*.(tar|tgz|tbz|tbz2|txz|tlz|gz|bz2|xz|lzma|Z|zip|rar|7z|deb)(-.)'" && return 0
7
8