about summary refs log tree commit diff
path: root/Completion/User/_tar_archive
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_tar_archive')
-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 319c10d83..1cf18d03c 100644
--- a/Completion/User/_tar_archive
+++ b/Completion/User/_tar_archive
@@ -16,7 +16,7 @@ _description files expl 'archive file'
 if [[ "$1" = *[tx]* ]]; then
   if [[ "$1" = *[zZ]* ]]; then
     _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)'
-  elif [[ "$1" = *I* ]]; then
+  elif [[ "$1" = *[Iy]* ]]; then
     _files "$expl[@]" -g '*.(tar|TAR).bz2'
   else
     _files "$expl[@]" -g '*.(tar|TAR)'