Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bash comp env missing
- X-seq: zsh-workers 30942
- From: Frank Becker <fb@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: bash comp env missing
- Date: Fri, 4 Jan 2013 16:48:11 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1357314493; bh=DvSnwgOg4zLDFXtvdJZBOQ91P6TwnBrapCBHKj55560=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=P+rEUwG6/RH580lqUFhdlH3rTg+jYEYUKpj097 wAZhG66cg4qU3zZ6Pip/pi7V7UxAhtyaCuxLu8g3S0SPpYJTUMh7CkmkJEthdjSQyQ9 0YAMMTMrn/3v/K4ApPC/C+Jf/FB9h1jXHbjWGyEfBsroe8w8XvFWRWfw77oItY2cAA=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1357314492; bh=DvSnwgOg4zLDFXtvdJZBOQ91P6TwnBrapCBHKj55560=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=uVYJlPM9UEu+73QpbUu0on+DeVKEHm2nXBf+UF fbA5ZJJA/Db52NaXA8vqPHSttyLEkSIAtJj/5waBddX+fmR5UCPL3Df6omr5Zim17qO +H5Ra9BWnKE9aJX5mQzsL51AK1IZmqYYCIli1nFRA7pjwQ2fjTgi8nn3kkVHxE2EGE=
- In-reply-to: <20130104130643.15e02307@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <EA715998-F446-437C-9161-469C8FB72E1E@alien8.de> <20130104130643.15e02307@pwslap01u.europe.root.pri>
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