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.
master
Marc Cornellà 11 years ago
parent be5dcb8a59
commit be10229659
  1. 3
      plugins/fbterm/fbterm.plugin.zsh

@ -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

Loading…
Cancel
Save