From 1eec8baf69eda83178923a16e0f588edd101e73f Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Tue, 29 Jan 2002 17:31:22 +0000 Subject: [PATCH] call _expand() from a couple more places in _rpm() --- bash_completion | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index db9512c5..a9550113 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ # # # @@ -804,17 +804,20 @@ _rpm() # complete on .spec files file_glob spec else + _expand || return 0 # complete on .tar files COMPREPLY=( $( compgen -G $cur\*.+(tgz|tar.+(gz|bz2)) ) ) fi return 0 ;; --re@(build|compile)) + _expand || return 0 # complete on source RPMs COMPREPLY=( $( compgen -G $cur\*.src.rpm ) ) return 0 ;; --tarbuild) + _expand || return 0 # complete on tarred sources COMPREPLY=( $( compgen -G $cur\*.+(tgz|tar.+(gz|bz2)) ) ) return 0