Make _alias() use _get_cword

This commit is contained in:
David Paleino 2009-02-21 23:13:41 +01:00
parent b39ff7e711
commit d2ebf2b128
2 changed files with 3 additions and 2 deletions

View File

@ -574,7 +574,7 @@ _alias()
local cur
COMPREPLY=()
cur=${COMP_WORDS[$COMP_CWORD]}
cur=`_get_cword`
case "$COMP_LINE" in
*[^=])

3
debian/changelog vendored
View File

@ -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@gmail.com> Tue, 17 Feb 2009 09:14:09 +0100
-- David Paleino <d.paleino@gmail.com> Sat, 21 Feb 2009 23:13:13 +0100
bash-completion (20080705) unstable; urgency=low