about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/User/_tar_archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_tar_archive b/Completion/User/_tar_archive
index 7d9fb54ac..319c10d83 100644
--- a/Completion/User/_tar_archive
+++ b/Completion/User/_tar_archive
@@ -15,7 +15,7 @@ _description files expl 'archive file'
 
 if [[ "$1" = *[tx]* ]]; 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" = *I* ]]; then
     _files "$expl[@]" -g '*.(tar|TAR).bz2'
   else