I have recently moved to zsh
from 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?
Edit:
The difference between zsh
and 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)