Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I upgraded with homebrew to v3.0 but the && syntax still doesn't work, do I have to do something special to enable it?


Close your shell and open it (or run fish again). You’re probably still in the original fish 2.7 that had previously launched. fish --version should show 3.0.0 (edit: yeah, that’s not going to work).


`fish --version` showed 3.0.0, after brew update but without closing terminal, but `ls && echo finally` still didn't work. However, closing and re-opening terminal, it now works.


`fish --version` starts a new fish that prints _its_ version.

You were still running the old version, and `echo $version` would have told you.


Hah, oops, should have realised that.


Because you still run the old version as your shell, from which you run the new version merely to have it print its version.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: