commit a48e11aa5c101c545549ebf949be19b48d352903
parent 5790df2fc2210d1cc094f4a07aa09d776879ddd3
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sat, 19 Mar 2016 10:02:06 -0700
do not show trailing domain name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -105,7 +105,7 @@ set -g status-bg default
set -g status-fg cyan
#set -g status-right "#[fg=green]#H"
set -g status-left-length 40
-set -g status-left "#[fg=red]#(hostname) #[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P"
+set -g status-left "#[fg=red]#(hostname|sed 's/\\..*$//') #[fg=green]s:#S #[fg=yellow]w:#I #[fg=cyan]p:#P"
#set -g status-right "#[fg=cyan]#(acpi|sed 's/Battery//; s/0://; s/Discharging//; s/Full, //; s/remaining//; s/ , //; s/Charging, /+/; s/ until charged/ /; s/, / /; s/Unknown //; s/ $//;') #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R"
#set -g status-right "#[fg=cyan]#(~/bin/battery) #[fg=yellow]#(cat /proc/loadavg|awk '{print $1;}') #[fg=green]%d %b %R"
#