Rename installed_alternatives() to _installed_alternatives().
This commit is contained in:
parent
ab40c79bf7
commit
f70bba5b5a
1
CHANGES
1
CHANGES
@ -26,6 +26,7 @@ bash-completion (1.x)
|
|||||||
* Add modplugplay filename completion.
|
* Add modplugplay filename completion.
|
||||||
* Add more mod-like audio file extensions for xine-based players and timidity.
|
* Add more mod-like audio file extensions for xine-based players and timidity.
|
||||||
* Complete on plain alternatives like update-alternatives.
|
* Complete on plain alternatives like update-alternatives.
|
||||||
|
* Rename installed_alternatives() to _installed_alternatives().
|
||||||
|
|
||||||
[ Todd Zullinger ]
|
[ Todd Zullinger ]
|
||||||
* Make yum complete on filenames after install, deplist, update and upgrade
|
* Make yum complete on filenames after install, deplist, update and upgrade
|
||||||
|
@ -5216,7 +5216,7 @@ complete -F _querybts $filenames querybts
|
|||||||
# update-alternatives completion
|
# update-alternatives completion
|
||||||
#
|
#
|
||||||
have update-alternatives && {
|
have update-alternatives && {
|
||||||
installed_alternatives()
|
_installed_alternatives()
|
||||||
{
|
{
|
||||||
local admindir
|
local admindir
|
||||||
# find the admin dir
|
# find the admin dir
|
||||||
@ -5266,7 +5266,7 @@ _update_alternatives()
|
|||||||
_filedir
|
_filedir
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
installed_alternatives
|
_installed_alternatives
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
_filedir
|
_filedir
|
||||||
@ -5276,7 +5276,7 @@ _update_alternatives()
|
|||||||
--remove)
|
--remove)
|
||||||
case $args in
|
case $args in
|
||||||
1)
|
1)
|
||||||
installed_alternatives
|
_installed_alternatives
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
_filedir
|
_filedir
|
||||||
@ -5284,16 +5284,16 @@ _update_alternatives()
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
--auto)
|
--auto)
|
||||||
installed_alternatives
|
_installed_alternatives
|
||||||
;;
|
;;
|
||||||
--remove-all)
|
--remove-all)
|
||||||
installed_alternatives
|
_installed_alternatives
|
||||||
;;
|
;;
|
||||||
--display)
|
--display)
|
||||||
installed_alternatives
|
_installed_alternatives
|
||||||
;;
|
;;
|
||||||
--config)
|
--config)
|
||||||
installed_alternatives
|
_installed_alternatives
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
COMPREPLY=( $( compgen -W '--verbose --quiet --help --version \
|
COMPREPLY=( $( compgen -W '--verbose --quiet --help --version \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user