Customize the left side of the status line.
Section: Status bar and appearance
Show session name on the left
tmux
tmux
set -g status-left "#[bold]#S "Explanation
Formats the current session name using tmux format strings.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Status bar and appearance
Show host and time on the right
Add useful runtime context to the status line.
Change prefix to Ctrl-a
Replace the default prefix with a screen-style prefix.
Renumber windows automatically
Keep window numbers compact after closing windows.