From 44cda9668335f507cc01667a053d4af1af2c4ade Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sun, 17 Jun 2018 01:38:30 +0800 Subject: [PATCH] Reduce shell loading, using one command instead of two. --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 09673af..383295c 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -10,4 +10,4 @@ set-option -g window-status-current-bg colour28 set -g default-terminal "screen-256color" set -g status-interval 1 set -g status-right-length 60 -set -g status-right '#(hostname) #[bg=colour21,fg=colour27] #[fg=white]#(uptime | sed "s/.*: //") #[bg=colour18,fg=colour21] #[fg=white]%Y-%m-%d %H:%M:%S' +set -g status-right '#(hostname) #[bg=colour21,fg=colour27] #[fg=white]#(cut -d " " -f 1 /proc/loadavg) #[bg=colour18,fg=colour21] #[fg=white]%Y-%m-%d %H:%M:%S'