Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bash comp env missing



On 04.01.2013, at 14:06, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:

Hi Peter,

> On Fri, 04 Jan 2013 13:32:12 +0100
> Frank Becker <fb@xxxxxxxxx> wrote:
>> I am trying to use an external bash complete program using the
>> bashcompinit auto completion function.
>> 
[…]

>> Question: How do I use bashcompinit correctly so the external program
>> can access the two environment variables?
> 
> It ought to be good enough to export them only from _bash_complete while
> they are needed.
> 
> Index: Completion/bashcompinit
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Completion/bashcompinit,v
> retrieving revision 1.5
> diff -p -u -r1.5 bashcompinit
> --- Completion/bashcompinit	29 Jan 2012 18:23:54 -0000	1.5
> +++ Completion/bashcompinit	4 Jan 2013 13:04:21 -0000
Right, that's what I tried. I didn't know about the -x switch for local.
Thanks.

OK, so it should be fixed in bashcompinit. Do you send that patch?

Thanks,

	Frank

-- 
Frank Becker <fb@xxxxxxxxx> (jabber|mail) | http://twitter.com/41i3n8
GnuPG: 0xADC29ECD | F01B 5E9C 1D09 981B 5B40 50D3 C80F 7459 ADC2 9ECD

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail



Messages sorted by: Reverse Date, Date, Thread, Author