Permalink
Browse files

Add bin/t tmux session helper

  • Loading branch information...
1 parent 5610c1f commit b2c0126c57b6a0e867df122af91bb681b53df3ad @caio committed Aug 22, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 bin/t
View
5 bin/t
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+SESSION=${1-scratch}
+
+tmux attach -t $SESSION || tmux new-session -s $SESSION

0 comments on commit b2c0126

Please sign in to comment.