From e14e899ab96c4171544a244ddc39991512ec41c8 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 18 Aug 2020 13:30:04 +0000 Subject: 47323: _rpmbuild: Complete file arguments after -r/-b/-t. --- Completion/Redhat/Command/_rpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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 \ -- cgit 1.4.1