On Sun, 24 Oct 2010 13:23:26 +0200
SZEDER Gábor [off-list ref] wrote:
Checking for the function first, and declaring it if it doesn't exists
could be a viewable alternative, but not with _get_cword(). The
_get_cword() implementation you are adding below is outdated. It is
from bash-completion 1.1, changed quite a bit after that, and in the
end became deprecated in 1.2 in favor of _get_comp_words_by_ref().
Ok, I just used the bash_completion version installed with Ubuntu Lucid.
I think we should use the 1.2 version.
--
Peter van der Does
GPG key: E77E8E98
IRC: Ganseki on irc.freenode.net
Twitter: @petervanderdoes
WordPress Plugin Developer
Blog: http://blog.avirtualhome.com
Forums: http://forums.avirtualhome.com
Twitter: @avhsoftware