mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Merge pull request #4234 from mcornella/fix-fbterm-autostart
Fix fbterm autostart
This commit is contained in:
commit
1605d8264c
1 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
# start fbterm automatically in /dev/tty*
|
# start fbterm automatically in /dev/tty*
|
||||||
|
|
||||||
if [[ $(tty|grep -o '/dev/tty') = /dev/tty ]] ; then
|
if (( ${+commands[fbterm]} )); then
|
||||||
fbterm
|
if [[ "$TTY" = /dev/tty* ]] ; then
|
||||||
exit
|
fbterm && exit
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue