updated README and help text

This commit is contained in:
Valerie Wolfe 2024-06-24 17:17:40 -04:00
parent ace9627b79
commit 0232a9c650
3 changed files with 13 additions and 3 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "remux" name = "remux"
version = "0.3.2" version = "0.3.3"
edition = "2021" edition = "2021"
authors = [ "Valerie Wolfe <sleeplessval@gmail.com>" ] authors = [ "Valerie Wolfe <sleeplessval@gmail.com>" ]
description = "A friendly command shortener for tmux" description = "A friendly command shortener for tmux"

View file

@ -47,8 +47,7 @@ tmux swi -t foo
rmux s foo rmux s foo
# cd to session path # cd to session path
tmux run 'printf "#{session_path}" > /tmp/tmux_path' cd `tmux display-mes -p "#{session_path}"`
cd `cat /tmp/tmux_path`
cd `rmux p` cd `rmux p`
``` ```

View file

@ -25,6 +25,7 @@ commands:
path print session path (session) path print session path (session)
switch switch to another session (session) switch switch to another session (session)
which print session title (session)
Use 'remux help <command>' to see detailed help text for each command. Use 'remux help <command>' to see detailed help text for each command.
@ -126,6 +127,16 @@ flags:
-r, --read-only Attach the target session as read-only."), -r, --read-only Attach the target session as read-only."),
Some("w" | "which" | "title")
=>
println!("remux which
Print the title of the current session.
usage: remux which
remux w
remux title"),
// TOPIC HELP // TOPIC HELP
Some("env" | "vars") Some("env" | "vars")