Skip to content

Instantly share code, notes, and snippets.

@carlosroman
carlosroman / tsession
Created January 15, 2015 10:13
Short cut for creating new tmux session... and logging into existing one
tmux has-session -t $1
if [ $? != 0 ]
then
tmux new-session -s $1 -n editor -d
fi
tmux attach -t $1

Keybase proof

I hereby claim:

  • I am carlosroman on github.
  • I am absentis (https://keybase.io/absentis) on keybase.
  • I have a public key whose fingerprint is FDE7 2FD0 EDE5 BC36 3057 BCE6 156A 4466 8F88 36CA

To claim this, I am signing this object: