From be10229659959a4ff455642e44fdaa5666e15ce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Sun, 9 Aug 2015 21:56:02 +0200 Subject: [PATCH] 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. --- plugins/fbterm/fbterm.plugin.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/fbterm/fbterm.plugin.zsh b/plugins/fbterm/fbterm.plugin.zsh index d60f0e27..bc253209 100644 --- a/plugins/fbterm/fbterm.plugin.zsh +++ b/plugins/fbterm/fbterm.plugin.zsh @@ -2,7 +2,6 @@ if (( ${+commands[fbterm]} )); then if [[ "$TTY" = /dev/tty* ]] ; then - fbterm - exit + fbterm && exit fi fi