0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-12 04:01:14 +02:00

Exit only if the fbterm session closed correctly

This prevents the previous behavior that exitted the zsh session
even if fbterm didn't start correctly.
This commit is contained in:
Marc Cornellà 2015-08-09 21:56:02 +02:00
parent be5dcb8a59
commit be10229659

View file

@ -2,7 +2,6 @@
if (( ${+commands[fbterm]} )); then
if [[ "$TTY" = /dev/tty* ]] ; then
fbterm
exit
fbterm && exit
fi
fi