Tuesday, 12 June 2018

shell - chain Fish commands via `&&` or `||`


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 && (like and), || (like or), and ! (like not), for better migration from POSIX-compliant shells (#4620).



No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...