_extract 208 B

12345678
  1. #compdef extract
  2. #autoload
  3. _arguments \
  4. '(-r --remove)'{-r,--remove}'[Remove archive.]' \
  5. "*::archive file:_files -g '(#i)*.(tar|tgz|tbz|tbz2|txz|tlz|gz|bz2|xz|lzma|Z|zip|rar|7z|deb)(-.)'" && return 0