From 63b336243fdf5e60058472fa456ed11e75280189 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 21 Jan 2004 13:53:28 +0000 Subject: 19387: add (-.) glob qualifier to globs where only files are directly applicable --- Completion/Unix/Type/_tar_archive | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Type/_tar_archive') diff --git a/Completion/Unix/Type/_tar_archive b/Completion/Unix/Type/_tar_archive index c5ab0e9fc..95a864cee 100644 --- a/Completion/Unix/Type/_tar_archive +++ b/Completion/Unix/Type/_tar_archive @@ -15,11 +15,11 @@ _description files expl 'archive file' if [[ "$1" = *[urtx]* ]]; then if [[ "$1" = *[zZ]* ]]; then - _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)' + _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)(-.)' elif [[ "$1" = *[Ijy]* ]]; then - _files "$expl[@]" -g '*.(tar|TAR).bz2' + _files "$expl[@]" -g '*.(tar|TAR).bz2(-.)' else - _files "$expl[@]" -g '*.(tar|TAR)' + _files "$expl[@]" -g '*.(tar|TAR)(-.)' fi else _files "$expl[@]" -- cgit 1.4.1