I think the "fish for bash users" could use some more emphasis here. I
think I'll submit a PR for that documentation.

On Mon, May 3, 2021 at 7:26 AM Greg Reagle <greg.rea...@umbc.edu> wrote:

> On Mon, May 3, 2021, at 07:07, Greg Reagle wrote:
> > Still, it might be a good idea to add an explicit warning to the
> documentation
> > not to put parentheses around the condition of an if statement lest you
> get an
> > error.
>
> On second thought, it might be a better idea to add a little more
> information to the error message: "Command substitutions not allowed (do
> not put
> parentheses around the condition of an if/while statement)".
>
>
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>


-- 
*Glenn Jackman*
Senior Software Developer

*Pythian - Love your data*
jack...@pythian.com
Tel: +1 613 565 8696
Mobile: +1 613 808 4984
www.pythian.com

-- 


--





_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to