summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/README.md b/README.md
index 0cd0938..1aba27a 100644
--- a/README.md
+++ b/README.md
@@ -8,17 +8,15 @@ with the ability to re-connect.
## Usage
-The following command logs into the OpenSSH host `example.com`, creates and
-attaches to a new Tmux session named `make`, and builds a project.
+Build a project in a new Tmux session on a remote OpenSSH host:
- $ ssh-tmux -s make example.com "cd project && make && sudo make install"
+ $ ssh-tmux example.com "cd project && make && sudo make install"
-When you detach or disconnect, or simply want to watch from another client, you
-can re-connect and re-attach as follows:
+Connect and attach from another client or after disconnection:
- $ ssh -t example.com tmux attach-session -t make
+ $ ssh -t example.com "tmux attach-session \; choose-tree"
-See the manual page for more examples.
+See the manual page for details and more examples.
## Installation
Generated by cgit. See skreutz.com for my tech blog and contact information.