To summarize the solution, this works:
eval docker (./machine config prl) ps
// Rickard
On Sat, Jan 24, 2015 at 6:07 PM, Glenn Jackman <[email protected]> wrote:
> I realized shortly after I posted that fish will probably treat the result
> of a command substitution as a single element (fish splits the output of
> the cmd subst into elements on newlines). You will need to `eval` the
> command
> Glenn Jackman | Software Developer
> Pythian
> Tel: +1 613 565 8696 Ext. 1478
> Cell: +1 613 808 4984
> Email: [email protected]
> ------------------------------
> *From: * Rickard von Essen <[email protected]>
> *Date: *Sat, 24 Jan 2015 17:37:44 +0100
> *To: *<[email protected]>
> *Cc: *fish-users<[email protected]>
> *Subject: *Re: [Fish-users] Using subshells to expand arguments
>
> Tried that and it did not work, if remember correctly fish sometimes put
> subshells in the background.
> On Jan 24, 2015 5:00 PM, "Glenn Jackman" <[email protected]> wrote:
>
>> Command substitution in fish uses plain parentheses without the leading
>> dollar
>>
>> docker (./machine config prl) ps
>> Glenn Jackman | Software Developer
>> Pythian
>> Tel: +1 613 565 8696 Ext. 1478
>> Cell: +1 613 808 4984
>> Email: [email protected]
>>
>> -----Original Message-----
>> From: Rickard von Essen <[email protected]>
>> Date: Sat, 24 Jan 2015 15:40:43
>> To: fish-users<[email protected]>
>> Subject: [Fish-users] Using subshells to expand arguments
>>
>>
>> ------------------------------------------------------------------------------
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>>
>>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users