diff --git a/README.md b/README.md index 4caa59d..cad3fc4 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/rtmux b/rtmux new file mode 100755 index 0000000..9cb8592 --- /dev/null +++ b/rtmux @@ -0,0 +1,2 @@ +#!/bin/bash +ssh -t "$@" -- "tmux attach || tmux new"