2

I have installed the fish shell, and I'm very happy with it ... but I cannot run the following command:

make && make install

This works nicely in bash... How do I run it in fish shell?

Hennes
  • 65,804
  • 7
  • 115
  • 169

1 Answers1

5

From the documentation:

The and builtin is used to execute a command if the current exit status (as set by the last previous command) is 0.

COMMAND1; and COMMAND2

So you'd call:

make; and make install
slhck
  • 235,242