mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-19 06:52:44 +08:00

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