From 6c9dd57a5d8d6af71e0fc96fc467f5af2874fa0b Mon Sep 17 00:00:00 2001 From: 0xFORDCOMMA Date: Mon, 8 Jul 2019 15:17:10 -0700 Subject: [PATCH] Improve readme clarity. --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4115577..8bea52d 100644 --- a/README.md +++ b/README.md @@ -9,17 +9,17 @@ I expand the idea of a tmux session to categorized sessions: foo/bar and foo/baz `session` can be invoked in three ways: -* `session` - Creates or switches to the default session (currently misc/dev, eventually sourced from an environment variable). - Equivalent to `tmux switch-client -t misc/dev || tmux attach -t misc/dev || tmux new -s misc/dev` -* `session ` - Creates or switches to the tmux session `/`. +* `session` + Creates or switches to the default session (currently misc/dev, eventually sourced from an environment variable). + This is equivalent to explicitly invoking `session misc dev`. +* `session ` + Creates or switches to the tmux session `/`. Equivalent to `tmux switch-client -t / || tmux attach -t / || tmux new -d -s / && (tmux switch-client -t / || tmux attach -t /)`. -* `session ` - Searches for a matching session in all categories. - If only one is found, it is switched to. - If it is ambiguous, options are presented. - If no such session is found, no session is created. +* `session ` + Searches for a matching session in all categories. + If only one is found, it is switched to. + If it is ambiguous, options are presented. + If no such session is found, no session is created. No direct tmux analogue, but presumably you wouldn't need to search categories using regular tmux session management. `sessions` provides a view of the current categories and sessions. Currently this is done using the unicode box drawing characters but a later version will likely add a user configurable option to control this and default to a more compact layout. -- 2.45.2