Commit be102296 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

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.
parent be5dcb8a
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
if (( ${+commands[fbterm]} )); then if (( ${+commands[fbterm]} )); then
if [[ "$TTY" = /dev/tty* ]] ; then if [[ "$TTY" = /dev/tty* ]] ; then
fbterm fbterm && exit
exit
fi fi
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment