updated stuff

This commit is contained in:
Nikolas Weger 2020-05-26 21:52:12 +02:00
parent 638dc45020
commit 586aa3b5e7
10 changed files with 82 additions and 37 deletions

7
zsh/fpath/_extract Normal file
View file

@ -0,0 +1,7 @@
#compdef extract
#autoload
_arguments \
'(-r --remove)'{-r,--remove}'[Remove archive.]' \
"*::archive file:_files -g '(#i)*.(7z|Z|apk|aar|bz2|deb|gz|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)(-.)'" \
&& return 0