1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-30 23:24:47 +01:00

Merge pull request #4234 from mcornella/fix-fbterm-autostart

Fix fbterm autostart
This commit is contained in:
Robby Russell
2015-08-12 21:16:19 -07:00

View File

@@ -1,6 +1,7 @@
# start fbterm automatically in /dev/tty*
if [[ $(tty|grep -o '/dev/tty') = /dev/tty ]] ; then
fbterm
exit
if (( ${+commands[fbterm]} )); then
if [[ "$TTY" = /dev/tty* ]] ; then
fbterm && exit
fi
fi