1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-02 05:09:25 +00:00

Rename archive module functions

This commit is contained in:
Sorin Ionescu
2013-05-25 14:39:51 -04:00
parent f007820a14
commit 16aa48baeb
6 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1,14 @@
#compdef unarchive
#autoload
#
# Completes unarchive.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
_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