Make _alias() use _get_cword
This commit is contained in:
parent
b39ff7e711
commit
d2ebf2b128
@ -574,7 +574,7 @@ _alias()
|
|||||||
local cur
|
local cur
|
||||||
|
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
cur=${COMP_WORDS[$COMP_CWORD]}
|
cur=`_get_cword`
|
||||||
|
|
||||||
case "$COMP_LINE" in
|
case "$COMP_LINE" in
|
||||||
*[^=])
|
*[^=])
|
||||||
|
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -82,6 +82,7 @@ bash-completion (1:1.0-1) UNRELEASED; urgency=low
|
|||||||
go. After it gets accepted, the completion would go into contrib/.
|
go. After it gets accepted, the completion would go into contrib/.
|
||||||
* Remove unused UNAME local variable in _info() (Closes: #501843)
|
* Remove unused UNAME local variable in _info() (Closes: #501843)
|
||||||
* AUTHORS added
|
* AUTHORS added
|
||||||
|
* Make _alias() use _get_cword
|
||||||
* Merge from Gentoo:
|
* Merge from Gentoo:
|
||||||
- fix 'find' completion so that it properly completes on -?(i)whilename.
|
- fix 'find' completion so that it properly completes on -?(i)whilename.
|
||||||
Patch by Ciaran McCreesh.
|
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
|
* Prevent completion dir from being sourced twice if
|
||||||
BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433)
|
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
|
bash-completion (20080705) unstable; urgency=low
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user