[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 5c0e30473fa12342d9b382bc7711b81ac07f528f

Ville Skyttä ville.skytta at iki.fi
Tue Apr 14 11:46:37 UTC 2009


The following commit has been merged in the master branch:
commit f70bba5b5a1efe15e879affc42f20b194241398e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Apr 14 14:40:31 2009 +0300

    Rename installed_alternatives() to _installed_alternatives().

diff --git a/CHANGES b/CHANGES
index e045025..d5327e5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -26,6 +26,7 @@ bash-completion (1.x)
   * Add modplugplay filename completion.
   * Add more mod-like audio file extensions for xine-based players and timidity.
   * Complete on plain alternatives like update-alternatives.
+  * Rename installed_alternatives() to _installed_alternatives().
 
   [ Todd Zullinger ]
   * Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/bash_completion b/bash_completion
index c6bae3d..5a47d2b 100644
--- a/bash_completion
+++ b/bash_completion
@@ -5216,7 +5216,7 @@ complete -F _querybts $filenames querybts
 # update-alternatives completion
 #
 have update-alternatives && {
-installed_alternatives()
+_installed_alternatives()
 {
 	local admindir
 	# find the admin dir
@@ -5266,7 +5266,7 @@ _update_alternatives()
 			_filedir
 			;;
 		2)
-			installed_alternatives
+			_installed_alternatives
 			;;
 		3)
 			_filedir
@@ -5276,7 +5276,7 @@ _update_alternatives()
 	--remove)
 		case $args in
 		1)
-			installed_alternatives
+			_installed_alternatives
 			;;
 		2)
 			_filedir
@@ -5284,16 +5284,16 @@ _update_alternatives()
 		esac
 		;;
 	--auto)
-		installed_alternatives
+		_installed_alternatives
 		;;
 	--remove-all)
-		installed_alternatives
+		_installed_alternatives
 		;;
 	--display)
-		installed_alternatives
+		_installed_alternatives
 		;;
 	--config)
-		installed_alternatives
+		_installed_alternatives
 		;;
 	*)
 		COMPREPLY=( $( compgen -W '--verbose --quiet --help --version \

-- 
bash-completion



More information about the Bash-completion-commits mailing list