1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-03 09:49:26 +00:00

Added archive listing to extract plugin.

This commit is contained in:
Sorin Ionescu
2011-07-28 18:06:47 -04:00
parent 2e4a053c8c
commit 49c5517d1b
2 changed files with 55 additions and 4 deletions

View File

@ -0,0 +1,6 @@
#compdef ls-archive
#autoload
_arguments \
'(-v --verbose)'{-v,--remove}'[Verbose archive listing.]' \
"*::archive file:_files -g '(#i)*.(tar|tgz|tbz|tbz2|txz|tlz|gz|bz2|xz|lzma|Z|zip|rar|7z)(-.)'" && return 0