Le 03/01/2010 10:14, [email protected] a écrit :
>>     COMPREPLY=()
>>     cur=`_get_cword`
>>     prev=${COMP_WORDS[COMP_CWORD-1]}
> there is a new _get_pword.

cur = _get_cword
prev = _get_pword

Shouldn't we try to have variable and function names more consistent ?
Aka rename _get_cword and _get_pword to _get_cur and _get_prev, or
rename cur and prev to cword and pword ?
-- 
BOFH excuse #266:

All of the packets are empty.

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to