Add useful runtime context to the status line.
Section: Status bar and appearance
Show host and time on the right
tmux
tmux
set -g status-right "#H %Y-%m-%d %H:%M"Explanation
Tmux supports format variables and time expansion.
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 session name on the left
Customize the left side of 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.