zsh-workers
 help / color / mirror / code / Atom feed
From: Frank Becker <fb@alien8.de>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: zsh-workers@zsh.org
Subject: Re: bash comp env missing
Date: Fri, 4 Jan 2013 16:48:11 +0100	[thread overview]
Message-ID: <09747271-AD88-4973-96AD-A3EA94FDA29A@alien8.de> (raw)
In-Reply-To: <20130104130643.15e02307@pwslap01u.europe.root.pri>

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]


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

Hi Peter,

> On Fri, 04 Jan 2013 13:32:12 +0100
> Frank Becker <fb@alien8.de> 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@alien8.de> (jabber|mail) | http://twitter.com/41i3n8
GnuPG: 0xADC29ECD | F01B 5E9C 1D09 981B 5B40 50D3 C80F 7459 ADC2 9ECD


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

  reply	other threads:[~2013-01-04 15:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 12:32 Frank Becker
2013-01-04 13:06 ` Peter Stephenson
2013-01-04 15:48   ` Frank Becker [this message]
2013-01-04 15:55     ` Peter Stephenson
2013-01-04 15:59     ` Jens Kubieziel
2013-01-04 22:25       ` Frank Becker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09747271-AD88-4973-96AD-A3EA94FDA29A@alien8.de \
    --to=fb@alien8.de \
    --cc=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).