On Wed, 13 Jun 2012 02:08:32 -0700
pants <pa...@cs.hmc.edu> wrote:

> keychain does not actually run the set commands.  All it does is print
> those strings to stout.  

Are you sure?

> You need to either set up something to eval
> each of them or parse them and run set on each of their arguments.  As
> it is set up right now in your config.fish, you are simply echoing the
> strings and not evaluating them.

man keychain says for --eval:

--eval
Keychain will print lines to be evaluated in the shell on stdout.  It
respects the SHELL environment variable to determine if Bourne shell or
C shell output is expected.

So, when I start my Terminal, it outputs:

set -e SSH_AUTH_SOCK; and set -x -U SSH_AUTH_SOCK 
/tmp/ssh-0F3yvROn3IrT/agent.4211;
set -e SSH_AGENT_PID; and set -x -U SSH_AGENT_PID 4212

set -e GPG_AGENT_INFO; and set -x -U GPG_AGENT_INFO 
/tmp/gpg-d5wnid/S.gpg-agent:4238:1

but the problem is that the values for environment variables exported
are, somehow, messed up, iow:

gour@atmarama ~> echo $SSH_AUTH_SOCK
/tmp/gpg-rEm7CF/S.gpg-agent.ssh

gour@atmarama ~> echo $SSH_AGENT_PID
12889

gour@atmarama ~> echo $GPG_AGENT_INFO
/tmp/gpg-NKQT3Z/S.gpg-agent 12889 1


which is simply wrong.

Any clue?


Sincerely,
Gour


-- 
The senses, the mind and the intelligence are the sitting places 
of this lust. Through them lust covers the real knowledge of the 
living entity and bewilders him.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to