about summary refs log tree commit diff
path: root/Completion/User/_tar
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User/_tar')
-rw-r--r--Completion/User/_tar2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/User/_tar b/Completion/User/_tar
index 0315e193a..ac23e94f3 100644
--- a/Completion/User/_tar
+++ b/Completion/User/_tar
@@ -125,6 +125,8 @@ elif [[ ( "$_tar_cmd" = *[xt]* || -n $del ) && -n "$tf" ]]; then
 
   if [[ $_tar_cmd = *z* ]]; then
     largs=-tzf
+  elif [[ $_tar_cmd = *y* ]]; then
+    largs=-tyf
   elif [[ $_tar_cmd = *Z* ]]; then
     largs=-tZf
   elif [[ $_tar_cmd = *I* ]]; then