about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-08-18 13:30:04 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-08-18 13:30:07 +0000
commite14e899ab96c4171544a244ddc39991512ec41c8 (patch)
treef3ca57341af54d65a097a742f81eb59962bdcf10 /Completion
parent01307ac59b774eec6587159c76a126e263e1df7d (diff)
downloadzsh-e14e899ab96c4171544a244ddc39991512ec41c8.tar.gz
zsh-e14e899ab96c4171544a244ddc39991512ec41c8.tar.xz
zsh-e14e899ab96c4171544a244ddc39991512ec41c8.zip
47323: _rpmbuild: Complete file arguments after -r/-b/-t.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Redhat/Command/_rpm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Redhat/Command/_rpm b/Completion/Redhat/Command/_rpm
index e3469245f..db7c1145d 100644
--- a/Completion/Redhat/Command/_rpm
+++ b/Completion/Redhat/Command/_rpm
@@ -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 \