Skip to content

Commit

Permalink
Add 'rtmux'
Browse files Browse the repository at this point in the history
  • Loading branch information
za3k committed Mar 20, 2016
1 parent 8e2b227 commit c92d568
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,15 @@ retry
---
Retry a command 5 times or until it succeeds

rtmux
---

Usage:

rtmux HOST

Attaches to a remote tmux session, or opens one if none exists.

say
---
Read the text aloud. Requires `festival`.
Expand Down
2 changes: 2 additions & 0 deletions rtmux
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
ssh -t "$@" -- "tmux attach || tmux new"

0 comments on commit c92d568

Please sign in to comment.