ohmyzsh/plugins/fbterm/fbterm.plugin.zsh
Gao Xiang 06d5cb93ab new plugin:
start fbterm automatically in /dev/tty*
2013-02-11 11:33:24 +08:00

7 lines
113 B
Bash

# start fbterm automatically in /dev/tty*
if [[ $(tty|grep -o '/dev/tty') = /dev/tty ]] ; then
fbterm
exit
fi