[archive] Add unarchive completion

Closes zimfw/archive#1
This commit is contained in:
Eric Nielsen 2018-02-08 10:59:43 -05:00
parent 6af7892f91
commit e244a123d8

View file

@ -0,0 +1,4 @@
#compdef unarchive
_arguments \
":archive:_files -g '(#i)*.(tar|gz|tgz|bz2|tbz|tbz2|xz|txz|tlz|lzma|Z|zip|rar|7z|001)(-.)'"