
This prevents the previous behavior that exitted the zsh session even if fbterm didn't start correctly.
7 lines
139 B
Bash
7 lines
139 B
Bash
# start fbterm automatically in /dev/tty*
|
|
|
|
if (( ${+commands[fbterm]} )); then
|
|
if [[ "$TTY" = /dev/tty* ]] ; then
|
|
fbterm && exit
|
|
fi
|
|
fi
|