about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/User/_tar_archive2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/User/_tar_archive b/Completion/User/_tar_archive
index 2c2696481..7d9fb54ac 100644
--- a/Completion/User/_tar_archive
+++ b/Completion/User/_tar_archive
@@ -16,6 +16,8 @@ _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
+    _files "$expl[@]" -g '*.(tar|TAR).bz2'
   else
     _files "$expl[@]" -g '*.(tar|TAR)'
   fi