From 19b12c682d2a533c2e4577a7e16efc721fb19dbb Mon Sep 17 00:00:00 2001 From: Valerie Date: Mon, 10 Jun 2024 12:02:57 -0400 Subject: [PATCH] updated README --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee793c7..cd4690d 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,10 @@ shorter than its equivalent tmux command: ```sh # new session -tmux new-session -t foo +tmux new-s -t foo remux n foo -# lists +# list sessions tmux ls remux l remux @@ -30,11 +30,11 @@ tmux a -t foo remux a foo # has -tmux has -t foo +tmux h -t foo remux has foo # detach -tmux detach-client -t foo +tmux det -t foo remux d foo # nesting sessions with '-n' flag @@ -43,6 +43,15 @@ remux a -n foo TMUX='' tmux new-session -t foo remux n -n foo +# switch to another session +tmux swi -t foo +rmux s foo + +# cd to session path +tmux run 'printf "#{session_path}" > /tmp/tmux_root' +cd `cat /tmp/tmux_root` +cd `rmux root` + ``` ## Dependencies