Add yum -d and -e completions.

This commit is contained in:
Ville Skyttä 2009-03-31 20:38:15 +03:00
parent a57f134e06
commit 356bc43969
2 changed files with 6 additions and 1 deletions

View File

@ -91,6 +91,10 @@ _yum()
# TODO: should not match *src.rpm # TODO: should not match *src.rpm
_filedir rpm _filedir rpm
;; ;;
-d|-e)
COMPREPLY=( $( compgen -W '0 1 2 3 4 5 6 7 8 9 10' \
-- $cur ) )
;;
-c) -c)
_filedir _filedir
;; ;;

3
debian/changelog vendored
View File

@ -7,7 +7,8 @@ bash-completion (1:1.x) UNRELEASED; urgency=low
* Split yum and yum-arch completion into contrib/yum. * Split yum and yum-arch completion into contrib/yum.
* Install yum-arch completion only if yum-arch is installed. * Install yum-arch completion only if yum-arch is installed.
* Update list of yum commands and options. * 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 * Fix local array initialization under bash 3.0, prevents "()" occurring in
file and dir name completions. file and dir name completions.