Add xz and compress support to rpmbuild -t*/--tarbuild completion.
parent
2bef79059c
commit
8770727a08
3
CHANGES
3
CHANGES
|
@ -103,7 +103,8 @@ bash-completion (1.x)
|
|||
* Complete bzcat and zcat only on compressed files.
|
||||
* Do not require a dot in bzcmp, bzdiff, bz*grep, zcmp, zdiff, z*grep, zless,
|
||||
and zmore filename completions.
|
||||
* Add more tarball filename extensions to rpmbuild -t*/--tarbuild completion.
|
||||
* Add xz and compress support and more tarball filename extensions to
|
||||
rpmbuild -t*/--tarbuild completion.
|
||||
|
||||
[ Todd Zullinger ]
|
||||
* Make yum complete on filenames after install, deplist, update and upgrade
|
||||
|
|
|
@ -255,7 +255,7 @@ _rpm()
|
|||
elif [[ ${COMP_WORDS[1]} == -b* ]]; then
|
||||
_filedir 'spec'
|
||||
else
|
||||
_filedir '@(t?(ar.)@(gz|bz?(2))|tar.lzma)'
|
||||
_filedir '@(t?(ar.)@([gx]z|bz?(2))|tar.@(lzma|Z))'
|
||||
fi
|
||||
;;
|
||||
--re@(build|compile))
|
||||
|
@ -267,7 +267,7 @@ _rpm()
|
|||
fi
|
||||
;;
|
||||
--tarbuild)
|
||||
_filedir '@(t?(ar.)@(gz|bz?(2))|tar.lzma)'
|
||||
_filedir '@(t?(ar.)@([gx]z|bz?(2))|tar.@(lzma|Z))'
|
||||
;;
|
||||
--@(re|add)sign)
|
||||
_filedir 'rpm'
|
||||
|
|
Loading…
Reference in New Issue