[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 8a24a283a40dd927f721d59d4e078ca15957597d
Ville Skyttä
ville.skytta at iki.fi
Sat Apr 18 19:34:11 UTC 2009
The following commit has been merged in the master branch:
commit 4dd5f087aea71e6949e367136452acb0115b887b
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Apr 18 22:28:37 2009 +0300
Fix leaking $prev from mkinitrd completion.
diff --git a/CHANGES b/CHANGES
index c9a3357..3db1435 100644
--- a/CHANGES
+++ b/CHANGES
@@ -42,6 +42,7 @@ bash-completion (1.x)
completion, assume only that --*file*= does, and that --*dir*= takes dirs.
* Add make --old/new-file, --assume-old/new, --what-if value completions.
* Add smartctl -n/--nocheck completion, add more other value completions.
+ * Fix leaking $prev from mkinitrd completion.
[ Todd Zullinger ]
* Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/contrib/mkinitrd b/contrib/mkinitrd
index 021de4b..e50d1c6 100644
--- a/contrib/mkinitrd
+++ b/contrib/mkinitrd
@@ -6,7 +6,7 @@
have mkinitrd &&
_mkinitrd()
{
- local cur args
+ local cur prev args
COMPREPLY=()
cur=`_get_cword`
--
bash-completion
More information about the Bash-completion-commits
mailing list