1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

22584: GNU tar should complete uncompressed archives

This commit is contained in:
Peter Stephenson 2006-08-04 11:41:06 +00:00
parent 7a9958e78e
commit 1f03591f21
2 changed files with 4 additions and 1 deletions

@ -1,5 +1,8 @@
2006-08-04 Peter Stephenson <pws@csr.com>
* 22584: Frank Terbeck: Completion/Unix/Type/_tar_archive: even
GNU tar should complete uncompressed .tar files.
* 22582: configure.ac: Test for functions needed for multibyte
mode instead of basing MULTIBYTE_SUPPORT on marginally relevant
preprocessor definition. Installation docs still need changing.

@ -19,7 +19,7 @@ if [[ "$1" = *[urtx]* ]]; then
elif [[ "$1" = *[Ijy]* ]]; then
_files "$expl[@]" -g '*.(tar|TAR).bz2(-.)'
elif [[ "$_cmd_variant[$service]" == gnu ]]; then
_files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z|bz2)|tgz)(-.)'
_files "$expl[@]" -g '*.((tar|TAR)(.gz|.GZ|.Z|.bz2|)|tgz)(-.)'
else
_files "$expl[@]" -g '*.(tar|TAR)(-.)'
fi