mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 22:37:20 +08:00
be10229659
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
|