]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tmux.conf
tmux.conf: Fix load average command.
[config/dotfiles.git] / tmux.conf
index 5a69f7a65eb3a377e9686959fb5d25f18ebdaa55..2d92790968183d1167d274c48f25fe58690a153c 100644 (file)
--- 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.