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

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


The following commit has been merged in the master branch:
commit d2ebf2b128dee3002afda58e32e2103ecb5bee2d
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 27cebb0..71b97b8 100644
--- a/bash_completion
+++ b/bash_completion
@@ -574,7 +574,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 30d0504..41bd098 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -82,6 +82,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.
@@ -146,7 +147,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