In Bash/ZSH and other shells, I am used to using && and ||.
Is there any equivalent in Fish?
Answer
The logical operators you're used to, are supported since fish 3.0.0, released on 2018-12-28.
From the v3 release notes:
- fish now supports
&&(likeand),||(likeor), and!(likenot), for better migration from POSIX-compliant shells (#4620).
No comments:
Post a Comment