Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

new plugin:

start fbterm automatically in /dev/tty*
  • Loading branch information...
commit 06d5cb93ab043a244e98630fdd7b7378210c9b6f 1 parent fce68bb
@zasdfgbnm zasdfgbnm authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 plugins/fbterm/fbterm.plugin.zsh
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.