]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/extract/_extract
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-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)*.(7z|Z|apk|aar|bz2|cab|cpio|deb|ear|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)(-.)'" \
7     && return 0