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.
Diff
1diff --git a/plugins/fbterm/fbterm.plugin.zsh b/plugins/fbterm/fbterm.plugin.zsh
2index d60f0e27dc7b08a0a26d44627e395da5f76029fb..bc253209201cca8c4a1ea4c4d30b21a621c40b07 100644
3--- a/plugins/fbterm/fbterm.plugin.zsh
4+++ b/plugins/fbterm/fbterm.plugin.zsh
5@@ -2,7 +2,6 @@
6 7 if (( ${+commands[fbterm]} )); then
8 if [[ "$TTY" = /dev/tty* ]] ; then
9- fbterm
10- exit
11+ fbterm && exit
12 fi
13 fi