[Bash-completion-commits] [SCM] bash-completion branch, frozen/1.0, updated. 9632699e3dd541e70defc7db9f343c4faa9d8d3a

David Paleino d.paleino at gmail.com
Sat Feb 21 22:14:12 UTC 2009


The following commit has been merged in the frozen/1.0 branch:
commit 9632699e3dd541e70defc7db9f343c4faa9d8d3a
Author: David Paleino <d.paleino at gmail.com>
Date:   Sat Feb 21 23:13:41 2009 +0100

    Make _alias() use _get_cword

diff --git a/bash_completion b/bash_completion
index fb85343..1d45e27 100644
--- a/bash_completion
+++ b/bash_completion
@@ -573,7 +573,7 @@ _alias()
 	local cur
 
 	COMPREPLY=()
-	cur=${COMP_WORDS[$COMP_CWORD]}
+	cur=`_get_cword`
 
 	case "$COMP_LINE" in
 	*[^=])
diff --git a/debian/changelog b/debian/changelog
index 17d095c..ebff512 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -76,6 +76,7 @@ bash-completion (1:1.0-1) UNRELEASED; urgency=low
     go. After it gets accepted, the completion would go into contrib/.
   * Remove unused UNAME local variable in _info() (Closes: #501843)
   * AUTHORS added
+  * Make _alias() use _get_cword
   * Merge from Gentoo:
     - fix 'find' completion so that it properly completes on -?(i)whilename.
       Patch by Ciaran McCreesh.
@@ -140,7 +141,7 @@ bash-completion (1:1.0-1) UNRELEASED; urgency=low
   * Prevent completion dir from being sourced twice if
     BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433) 
 
- -- David Paleino <d.paleino at gmail.com>  Tue, 17 Feb 2009 09:14:09 +0100
+ -- David Paleino <d.paleino at gmail.com>  Sat, 21 Feb 2009 23:13:13 +0100
 
 bash-completion (20080705) unstable; urgency=low
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list