summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2013-03-26 22:00:52 -0700
committerRobby Russell <robby@planetargon.com>2013-03-26 22:00:52 -0700
commit6f72d6c17c35e0b6e03592440ea22f314a4dd996 (patch)
tree8ba4e199e6664808c5fca8328df4b2ecabee5e40
parentc867684fe1564f7ddac96398c98ae12ee48a0275 (diff)
parent06d5cb93ab043a244e98630fdd7b7378210c9b6f (diff)
downloadzsh-6f72d6c17c35e0b6e03592440ea22f314a4dd996.tar.gz
zsh-6f72d6c17c35e0b6e03592440ea22f314a4dd996.tar.bz2
zsh-6f72d6c17c35e0b6e03592440ea22f314a4dd996.zip
Merge pull request #1598 from zasdfgbnm/master
new plugin
-rw-r--r--plugins/fbterm/fbterm.plugin.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/fbterm/fbterm.plugin.zsh b/plugins/fbterm/fbterm.plugin.zsh
new file mode 100644
index 000000000..4f0456016
--- /dev/null
+++ b/plugins/fbterm/fbterm.plugin.zsh
@@ -0,0 +1,6 @@
+# start fbterm automatically in /dev/tty*
+
+if [[ $(tty|grep -o '/dev/tty') = /dev/tty ]] ; then
+ fbterm
+ exit
+fi