Add yum -d and -e completions.
This commit is contained in:
parent
a57f134e06
commit
356bc43969
@ -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
|
||||
;;
|
||||
|
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user