From: Peter van der Does Date: Sun, 24 Oct 2010 16:28:30 GMT Subject: Re: [completion] Request: Include remote heads as push targets Message-ID: <20101024122830.791ce80e@montecarlo.grandprix.int> In-Reply-To: <20101024112325.GB29386@neumann> On Sun, 24 Oct 2010 13:23:26 +0200 SZEDER Gábor 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