use 'env'

so instead of:
$ FOO=bar command

do:

$ env FOO=bar command

Steve


On Wed, May 29, 2013 at 7:24 PM, Alex Boisvert <[email protected]>wrote:

> Using bash I'm used to launching commands with exported environment
> variables by doing this,
>
> % FOO=bar some-command
>
> Is there a similar shorthand for fish?
>
> I've tried,
>
> % set FOO bar; some-command
>
> but that didn't work and I want to avoid doing,
>
> % set -x FOO bar
> % some-command
>
> if possible.   Any suggestions?  thanks!
>
>
> ------------------------------------------------------------------------------
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to