On 11/15/2016 10:48 PM, Yassin Philip wrote:
Ah, sorry, it works now, it's just that I was
executing it in a ZSH env.
It needs to be a bash script. Thanks everyone, I got my transport toggle
now! It's disturbingly hacky, but it works :)
Ok great. And yes it's hacky and contains Bashism of which &> is one of
them. I stopped using those and returned to good ol' 2>&1. Wrt not
getting a prompt back, check
http://tldp.org/LDP/abs/html/x9644.html and
then the paragraph about *wait*.
Jeremy