Add/fix implicit xz decompress support (Alioth: #312383).

This commit is contained in:
Ville Skyttä 2010-03-04 20:24:06 +02:00
parent 0f49bb1e3c
commit 1b336660d7

View File

@ -19,7 +19,7 @@ _tar()
return 0
;;
+([^IZzJjy])f)
ext='t@(ar?(.@(Z|gz|bz?(2)|lz?(ma)))|gz|bz?(2)|lz?(ma))'
ext='t@(ar?(.@(Z|gz|bz?(2)|lz?(ma)|xz))|gz|bz?(2)|lz?(ma)|xz)'
regex='t\(ar\(\.\(Z\|gz\|bz2\?\|lzma\|xz\)\)\?\|gz\|bz2\?\|lzma\|xz\)'
;;
*[Zz]*f)