Skip to content

Instantly share code, notes, and snippets.

@calas
Created May 31, 2013 14:39
Show Gist options
  • Save calas/5685438 to your computer and use it in GitHub Desktop.
Save calas/5685438 to your computer and use it in GitHub Desktop.
#!/bin/sh
ssh -t $@ 'exec tmux att' || ssh -t $@ 'exec tmux new'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment