X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/10cf60790cf2430aba9f7e7120ccd414959e4f81..b55d69396b587288c7e654035190d9e62fa70b71:/zsh/functions/_ex diff --git a/zsh/functions/_ex b/zsh/functions/_ex new file mode 100644 index 0000000..3b44387 --- /dev/null +++ b/zsh/functions/_ex @@ -0,0 +1,8 @@ +#compdef ex +#autoload + +_arguments \ + '(-r --remove)'{-r,--remove}'[Remove archive.]' \ + "*::archive file:_files -g '(#i)*.(tar|tgz|tbz|tbz2|txz|tlz|gz|bz2|xz|lzma|Z|zip|rar|7z|deb)(-.)'" && return 0 + +