summaryrefslogtreecommitdiff
path: root/completions/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'completions/rpm')
-rw-r--r--completions/rpm4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/rpm b/completions/rpm
index ee56af8e..9bd19f68 100644
--- a/completions/rpm
+++ b/completions/rpm
@@ -248,7 +248,7 @@ _rpm()
elif [[ ${COMP_WORDS[1]} == -b* ]]; then
_filedir spec
else
- _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar.@(lzma|Z))'
+ _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar?(.@(lzma|Z)))'
fi
;;
--rebuild|--recompile)
@@ -260,7 +260,7 @@ _rpm()
fi
;;
--tarbuild)
- _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar.@(lzma|Z))'
+ _filedir '@(t?(ar.)@([gx]z|bz?(2))|tar?(.@(lzma|Z)))'
;;
--resign|--addsign)
_filedir '[rs]pm'