1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 21:51:40 +02:00

47323: _rpmbuild: Complete file arguments after -r/-b/-t.

This commit is contained in:
Daniel Shahaf 2020-08-18 13:30:04 +00:00
parent 01307ac59b
commit e14e899ab9
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2020-08-18 Daniel Shahaf <d.s@daniel.shahaf.name>
* 47323: Completion/Redhat/Command/_rpm: _rpmbuild: Complete
file arguments after -r/-b/-t.
2020-08-16 Mikael Magnusson <mikachu@gmail.com>
* 47304: Completion/Zsh/Type/_globflags: support specifying more

View file

@ -282,7 +282,7 @@ _rpm () {
build_r) tmp=( '*:source package:_files -g "*.(#i)src.rpm(-.)"' ) ;|
build_t) tmp=( '*:tar file:_files -g "*.(#i)tar(.*|)(-.)"' ) ;|
build_?)
_arguments -s -C $buildopts $commonopts $pathopts \
_arguments -s -C $buildopts $commonopts $pathopts "${tmp[@]}" \
;;
checksig)
_arguments -s -C \!-K \