Open chrissound opened 5 years ago
Probably because my script I'm calling has:
set -euo pipefail
set -o xtrace
You don't want to use set -u
with z, since it sometimes does stuff with nonset variables. I guess z could execute set +u
before doing said operations and then reset it back to the user's preferred state after finishing?
I sometimes run into this error when running a script
source example.sh
from the CLI.In turn it seems to hang my terminal, and if i
CTRL-C
I seem to lose some prompt context: