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

Re: GnuPG 2.1 with Git, problem in zsh, not in ksh



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