From 24d2ddf1577c505360239da35ea96f4f20759308 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 17 Dec 2020 22:44:32 +0100 Subject: tmux: print short hostname (without domain) --- dotfiles/tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index 07f0d90..e24f3c0 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -45,7 +45,7 @@ set-option -g update-environment "\ DBUS_SESSION_BUS_ADDRESS\ " -set -g status-right "#(hostname -f) %a %F %H:%M" +set -g status-right "#H|%a %F %H:%M" set -g status-right-length 48 set -g status-style fg=colour194,bold,bg=colour23 -- cgit v1.2.3