mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01: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:
@@ -2,7 +2,6 @@
|
||||
|
||||
if (( ${+commands[fbterm]} )); then
|
||||
if [[ "$TTY" = /dev/tty* ]] ; then
|
||||
fbterm
|
||||
exit
|
||||
fbterm && exit
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user