Session ManagementPrefix + $
rename-session
Short form: rename
Rename the session specified by -t, or the current session if -t is not given.
Synopsis
bash
tmux rename-session [-t target-session] new-nameOptions
| Flag | Description |
|---|---|
| -t target-session | Specify which session to rename |
Examples
Rename current session to 'work'
bash
tmux rename-session workRename session 0 to 'development'
bash
tmux rename -t 0 developmentRename using keybinding
bash
Prefix + $ (then type new name)Default Keybinding
Prefix + $
Default prefix is Ctrl+b
Pro Tips
- •Good session names make it easier to switch between projects
- •Use short, descriptive names