To summarize the solution, this works:
eval docker (./machine config prl) ps
// Rickard
On Sat, Jan 24, 2015 at 6:07 PM, Glenn Jackman <jack...@pythian.com> 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: jack...@pythian.com
> ------------------------------
> *From: * Rickard von Essen <rickard.von.es...@gmail.com>
> *Date: *Sat, 24 Jan 2015 17:37:44 +0100
> *To: *<jack...@pythian.com>
> *Cc: *fish-users<fish-users@lists.sourceforge.net>
> *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" <jack...@pythian.com> 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: jack...@pythian.com
>>
>> -----Original Message-----
>> From: Rickard von Essen <rickard.von.es...@gmail.com>
>> Date: Sat, 24 Jan 2015 15:40:43
>> To: fish-users<fish-users@lists.sourceforge.net>
>> 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
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users