feat(tmux): set right status bar to include full hostname and RFC 3339 datetime

This commit is contained in:
Victor Westerlund 2025-09-12 17:49:35 +02:00
parent 5ad2ff1546
commit b5bdec0702
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -1,6 +1,9 @@
# Enable PS1 colors # Enable PS1 colors
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
# Set custom right status bar: hostname.domain | RFC 3339
set -g status-right '#(hostname).#(hostname -d) | #(date +"%Y-%m-%d %H:%M:%S")'
# Resize to smallest attached client # Resize to smallest attached client
set -g window-size smallest set -g window-size smallest