summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--completions/rpm4
2 files changed, 3 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index b2abbc6d..b75b8216 100644
--- a/CHANGES
+++ b/CHANGES
@@ -15,7 +15,7 @@ bash-completion (2.x)
and *.awb to mplayer filename completions.
* Add "short" tarball extensions to unxz, unlzma etc completions.
* Improve /etc/init.d/*, ipmitool, jar, mencoder, mkdir, mplayer, povray,
- sqlite3, wodim, and general help parsing completions.
+ rpmbuild, sqlite3, wodim, and general help parsing completions.
* Fix p4 and povray completions (Alioth: #312625).
* Add *.xsd, *.xsl, *.rng, and *.wsdl to xmllint filename completions.
* Recognize rpm query mode based on the --file, --group, --package, and
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'