2013-05-25 20:39:51 +02:00
|
|
|
#compdef lsarchive
|
2011-07-29 00:06:47 +02:00
|
|
|
#autoload
|
|
|
|
|
2012-02-01 05:37:51 +01:00
|
|
|
#
|
2013-05-25 20:39:51 +02:00
|
|
|
# Completes lsarchive.
|
2012-02-01 05:37:51 +01:00
|
|
|
#
|
|
|
|
# Authors:
|
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
|
|
#
|
|
|
|
|
2011-07-29 00:06:47 +02:00
|
|
|
_arguments \
|
2012-01-22 06:13:29 +01:00
|
|
|
'(-v --verbose)'{-v,--remove}'[verbose archive listing]' \
|
2011-07-29 00:06:47 +02:00
|
|
|
"*::archive file:_files -g '(#i)*.(tar|tgz|tbz|tbz2|txz|tlz|gz|bz2|xz|lzma|Z|zip|rar|7z)(-.)'" && return 0
|
2011-08-31 05:16:15 +02:00
|
|
|
|