Closed graingert closed 7 years ago
Ouch. I was starting a new zsh session and didn't notice that exit
exits the whole shell. Sorry about that.
Is any of your able to address this, seeing a viable solution? Otherwise I can revert the change.
if [[ $ret = $force_exit_code ]]; then kill -s INT $$ ; fi
seems to have the desired behavior. I don't know if this can cause any undesired side effects.
@orestisf1993 Feel free to make a PR for this. :)
I don't feel like I deserve that much punishment!