diff --git a/contrib/yum b/contrib/yum index 78dede73..e5af2d30 100644 --- a/contrib/yum +++ b/contrib/yum @@ -91,6 +91,10 @@ _yum() # TODO: should not match *src.rpm _filedir rpm ;; + -d|-e) + COMPREPLY=( $( compgen -W '0 1 2 3 4 5 6 7 8 9 10' \ + -- $cur ) ) + ;; -c) _filedir ;; diff --git a/debian/changelog b/debian/changelog index 27feac42..7f4b0af9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,7 +7,8 @@ bash-completion (1:1.x) UNRELEASED; urgency=low * Split yum and yum-arch completion into contrib/yum. * Install yum-arch completion only if yum-arch is installed. * Update list of yum commands and options. - * Add yum repolist, --enable/disablerepo, and --disableexcludes completions. + * Add yum repolist, --enable/disablerepo, --disableexcludes, -d, and -e + completions. * Fix local array initialization under bash 3.0, prevents "()" occurring in file and dir name completions.