Rename session

sessions

// what it does

`Ctrl + b $` runs `rename-session`, opening a prompt at the bottom of the screen prefilled with the current name so you can type a new one and press Enter. Renaming makes a session easier to target by name with `attach -t` or `kill-session -t` and clarifies the status bar when you juggle several. The change is immediate and applies server-wide.

// shortcut

Ctrl + b$

// gotcha

Names with spaces or shell metacharacters make the session awkward to reference from `-t` on the command line (you'll need quoting), and the new name must still be unique among sessions.