On Jan 9, 2008 4:01 AM, James Vega <[EMAIL PROTECTED]> wrote:
> On Wed, Jan 09, 2008 at 02:15:02AM +0100, Axel Liljencrantz wrote:
> > On Jan 1, 2008 6:53 PM, Chris FORNO <[EMAIL PROTECTED]> wrote:
> > > To reproduce (in config.fish):
> > > set SSHAGENT /usr/bin/ssh-agent
> > > set SSHAGENTARGS -s
> > > if [ -z $SSH_AUTH_SOCK -a -x $SSHAGENT ];
> > >   eval ($SSHAGENT $SSHAGENTARGS)
> > > end
> >
> > Thank you for the bug report.
> >
> > Unfortunatly, I can not reproduce this issue. Moreover, the snippet
> > you sent is invalid fish syntax, I suspect the next to last line is
> > supposed to read
> >
> >    eval $SSHAGENT $SSHAGENTARGS
> >
> > correct?
>
> No, the original post is correct in its intentions.  When you run
> sshagent, it outputs a couple environment variables.  The intention is
> that you run the nested command and then eval the output in order to
> export those environment variables.
>

Ah,that would be

eval (eval $SSHAGENT '$SSHAGENTARGS')

then...

Axel
> James
> --
> GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iEYEARECAAYFAkeEOR8ACgkQDb3UpmEybUDoNwCfZsFcPtdQOMJmBSRcWwIW/NVZ
> jtYAnjE5hQAD/Sn25z4cNawY/8yMXayS
> =P64V
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to