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 20847
- From: Andreas Kusalananda Kähäri <andreas.kahari@xxxxxxx>
- To: shawn wilson <ag4ve.us@xxxxxxxxx>
- Subject: Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- Date: Wed, 28 Oct 2015 20:50:59 +0100
- Cc: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, 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=1446061860; x=1446925861; bh=L0l1gbwiu04jvsakaISU17Z0 GR5aJKW/C9NEmC5FBLY=; b=IFdMjRJ2mZIdxcxytHcwZ0cX0LcKuMk3lw9jTEXb XXQkkQ6LPuLQxgS3w5wBxhg45PxqS2dLxEra6bCDzaTTyZSADmWu0yp7n4D9A+Ip OeCwd0D0pRCSws2hJlfWmvPA+6Cya+PSQZAExH1o8mV6OLe9DJ2M5TOtM061W4QY Aj4=
- In-reply-to: <CAH_OBif1Joh3famU-nDMoZvzN7Y4uM7yDT5FQQRA2G9rb71mfw@mail.gmail.com>
- 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: shawn wilson <ag4ve.us@xxxxxxxxx>, 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> <20151028162215.GA3807@laptop.local> <CAH_OBif1Joh3famU-nDMoZvzN7Y4uM7yDT5FQQRA2G9rb71mfw@mail.gmail.com>
On Wed, Oct 28, 2015 at 02:05:31PM -0400, shawn wilson wrote:
> On Wed, Oct 28, 2015 at 12:22 PM, Andreas Kusalananda Kähäri
> <andreas.kahari@xxxxxxx> wrote:
> > 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).
> >
>
> anything in {,/usr/local}/etc/<whatever files ksh uses> ?
Nope. Only uses /etc/profile, and that only sets $PATH. ... unless ksh
is doing magic that I don't see.
>
> > 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?
> >
>
> IDK what gpg 2 does - I'm still on 1, but your shell doesn't do magic
> out of the box - you have to wave (and throw things) at it to make
> that happen.
>
I dunno. I was playing around with qemu the other night, and I typed
"qemu-system-x86_64" followed by <space> and then <tab> and the shell
decided to execute the command (possibly in an attempt to figure out
its usage info somehow) which filled my terminal with all sorts of qemu
logging crap. Is that a side-effect of using "compinit"? I'd call that
"magic out of the box".
Cheers,
--
:: Andreas Kusalananda Kähäri, Bioinformatics Developer, BILS,
:: Uppsala University, Sweden
::----------------------------------------------------------------------
:: My other car is a cdr.
- References:
- GnuPG 2.1 with Git, problem in zsh, not in ksh
- From: Andreas Kusalananda Kähäri
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- From: Andreas Kusalananda Kähäri
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- From: Andreas Kusalananda Kähäri
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
Messages sorted by:
Reverse Date,
Date,
Thread,
Author