Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- X-seq: zsh-users 20844
- From: Andreas Kusalananda Kähäri <andreas.kahari@xxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- Date: Wed, 28 Oct 2015 17:22:15 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bils.se; h= user-agent:organization:in-reply-to:content-transfer-encoding :content-disposition:content-type:content-type:mime-version :references:message-id:subject:subject:to:from:from:date:date; s=dkim; t=1446049333; x=1446913334; bh=7O/b7QgINkl8SILZFsU+CUV7 oMUM2AuS0RrT8wUiwQE=; b=bcmr0Lv4XPmT78POHBKBKX2W7OGvKTw9QjfJP21K K5J+oxzHAtIwOIXpM8E9gRxkESg9Jd1VUGH4Uvybua6Mwz8QtxWsrWXK+6PWp/Qs RGg8NRfSdLAeNp7aEj9YureN6mCk7RMp/8/wM1d5WZivypt4aWoMKVDFLJztpnpj UOI=
- In-reply-to: <20151028150201.495472ec@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: BILS, ICM, Uppsala University, Sweden
- References: <20151028111101.GA3212@laptop.local> <CAH_OBidXA9A=J_h2H9wzjQL2ZrckgvLa_=q66rUoibpG9DSadw@mail.gmail.com> <20151028144739.GB3212@laptop.local> <20151028150201.495472ec@pwslap01u.europe.root.pri>
On Wed, Oct 28, 2015 at 03:02:01PM +0000, Peter Stephenson wrote:
> On Wed, 28 Oct 2015 15:47:39 +0100
> Andreas Kusalananda Kähäri <andreas.kahari@xxxxxxx> wrote:
> > Setting GPG_TTY=$( tty ) solved it for me!
> >
> > GnuPG 2.1 doesn't use GPG_AGENT_INFO any longer, according to the
> > gpg2(1) manual.
> >
> > I still don't know why it worked in ksh though... (but never mind).
>
> Maybe something in your ksh set up is marking the variables for export?
> It won't do that automatically, though.
>
> pws
>
I don't think that's it. I don't have a ~/.profile file or point $ENV
to anything and ksh93 (standard on OS X, which I use) don't parse any
other startup files. The system /etc/profile only sets the $PATH. The
environment is inherited from my zsh session when I start up ksh, that's
about it, and it worked in ksh but not in zsh (does now, since I set
$GPG_TTY).
I'm wondering if there's some magic happening behind the scenes that I
don't know about. Maybe something in $FPATH gets triggered and does the
wrong thing?
--
:: Andreas Kusalananda Kähäri, Bioinformatics Developer, BILS,
:: Uppsala University, Sweden
::----------------------------------------------------------------------
:: My other car is a cdr.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author