I also think ignoring errors should be explicit; the default should be
exit-on-failure (though I'll understand that it might be too late to change
due to backward compatibility)
On Sun, Nov 10, 2013 at 8:35 AM, Martin Bähr <
mba...@email.archlab.tuwien.ac.at> wrote:
> On Sun, Nov 10, 2013 at 09:
On Sun, Nov 10, 2013 at 09:09:26PM +0800, David Adam wrote:
> > What is the equivalent of Bash set -e on Fish?
> I don't think we have it, as such. You would have to use `; or exit 1`
> after lines you are worried about, or check $status.
>
> I suppose the argument could be made that error handli
On Sat, 9 Nov 2013, Maurizio De Santis wrote:
> On bash you can use set -e inside a script in order to exit on error:
>
> set -e
> cd unexisting-folder
> echo "this line will never be printed"
>
> But on fish shell set -e is used to erase variables:
>
> set FOO barset -e FOO
> echo {$FOO} # prin