mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 13:50:09 +00: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:
parent
be5dcb8a59
commit
be10229659
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue