From 95bed59790af78aec119b7f6af6c453f042dc2c3 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 19 Sep 2012 12:53:34 +0200 Subject: [PATCH] tmux.conf: Fix load average command. The new command is more portable. --- tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index 5a69f7a..2d92790 100644 --- a/tmux.conf +++ b/tmux.conf @@ -50,7 +50,7 @@ set-option -g status-bg colour12 # Nothing left of window list. set-option -g status-left "" # Current load average and hostname on the right. -set-option -g status-right "#(uptime | cut -d: -f5- | tr -d ,) #H" +set-option -g status-right "#(uptime | sed 's/^.*load averages*: //; s/,//g') #H" # Format for windows in the window list in the status line. #I window index, # #W window number, #F window flags. -- 2.45.2