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