From da201d0243c7cbb37a7ac456d6ddd8d6d8e479ed Mon Sep 17 00:00:00 2001 From: Corey Smith Date: Wed, 23 Jul 2025 10:57:16 -0700 Subject: [PATCH] Prefer pretty hostname --- makehome.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makehome.sh b/makehome.sh index 5a35d8a..62360ee 100644 --- a/makehome.sh +++ b/makehome.sh @@ -34,7 +34,7 @@ set -g status-interval 5 # Add a space to the beginning of the status bar # This keeps the default session name '[#S]' and adds a space before it set -g status-left-length 300 -set -g status-left ' #[bold]  #{session_name}#[nobold] | #{user}@#{host} | #(curl -s ifconfig.me) | ' +set -g status-left ' #[bold]  #{session_name}#[nobold] | #{user}@#(hostnamectl --pretty 2>/dev/null || hostname) | #(curl -s ifconfig.me) | ' # Add a space to the end of the status bar # This keeps the default hostname and date/time, and adds a space after