File tar-completion.patch of Package bash-completion

boo#1012212 -- bash tab-autocompletion hangs on TAR-archiving with --create key

---
 bash-completion-2.12.0/completions/tar |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- bash-completion-2.12.0/completions/tar
+++ bash-completion-2.12.0/completions/tar	2024-02-22 15:03:22.400476120 +0000
@@ -203,7 +203,7 @@ _comp_cmd_tar__preparse_cmdline()
 
     for i in "$@"; do
         case "$i" in
-            --delete | --test-label)
+            --delete|--test-label|--catenate|--concatenate|--extract|--get|--update|--list|--append|--create)
                 tar_mode=${i:2:100}
                 tar_mode_arg=$i
                 break
openSUSE Build Service is sponsored by