In Bash/ZSH and other shells, I am used to using
Is there any equivalent in Fish?
Fish doesn't have a special syntax for a logical AND (
Instead, you can use the commands
Furthermore – just like in bash – you can use a semicolon
This allows using a more familiar syntax: