From ab40c79bf7ea071ba2d16206b2683394f52c19bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 14 Apr 2009 14:36:50 +0300 Subject: [PATCH] Complete on plain alternatives like update-alternatives. --- CHANGES | 1 + bash_completion | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index e234b860..e0450257 100644 --- a/CHANGES +++ b/CHANGES @@ -25,6 +25,7 @@ bash-completion (1.x) unusual characters, add filename based --whatrequires completions. * Add modplugplay filename completion. * Add more mod-like audio file extensions for xine-based players and timidity. + * Complete on plain alternatives like update-alternatives. [ Todd Zullinger ] * Make yum complete on filenames after install, deplist, update and upgrade diff --git a/bash_completion b/bash_completion index 4a36dd7c..c6bae3dc 100644 --- a/bash_completion +++ b/bash_completion @@ -5302,7 +5302,7 @@ _update_alternatives() --config' -- $cur ) ) esac } -complete -F _update_alternatives update-alternatives +complete -F _update_alternatives update-alternatives alternatives } # Python completion