The other thing i'd really like to be able to do is to execute something to
populate an environment variable

In bash you can do stuff like:

export FOO_PID=`cat foo.pid`

Anyone have any idea how to do that in fish?

I haven't noticed it mentioned in the documentation.

If you execute:

set -x FOO `cat foo.pid`

... you just get the literal string `cat foo.pid`

Mark.

On Mon, Aug 31, 2009 at 1:50 PM, Mark Ryall <[email protected]> wrote:

> I like this.
>
> Whenever anyone says anything suspicious to me in future I will respond
> with "value too long to be stored in data type"
>
>
> On Fri, Aug 28, 2009 at 6:44 PM, Ben Hoskings <[email protected]> wrote:
>
>>
>> On 28/08/2009, at 1:12 PM, Bodaniel Jeanes wrote:
>>
>> > One thing to make sure is that you are ONLY adding directories to
>> > your PATH that actually exist, or you will get errors (the one you
>> > are having might be it, I can't remember).
>>
>> Yep, "value too long to be stored in data type" or whatever it is
>> means one element of your PATH doesn't exist. I posted about it to the
>> fish mailing list a couple of weeks ago but didn't get any response.
>>
>> Ben
>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to