I have recently moved to
bash (on OSX). I have an bash alias I have used to run one program then another (even if previous program exits with error) on bash. I can't work out how to replicate this in zsh.
bash alias I would like to replicate is:
gulp ; say "Gulp has crashed"
Does anyone know how to rewrite this in zsh?
The difference between
bash I'm getting is that; with Bash pressing
ctrl-c when gulp is running, stops gulp and then goes on to the next command.
in Zsh pressing
ctrl-c seems to stop whole command line.
The purpose of my use of this line is to get an audible warning when gulp stops running in the background. (for non-mac users the say command is a text to speach converter)