fixing load average display in tmux to be compatible with linux and macos
This commit is contained in:
parent
f798ef648b
commit
9f92890457
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ set-window-option -g window-status-current-fg colour141
|
|||
|
||||
# Add some info to the status bar
|
||||
set -g status-right-length 70
|
||||
set -g status-right "#H | up #(uptime | awk '{print $3 \" \" $4}' | sed 's/,//') | Mem: #(~/bin/tmux-free-memory.sh) free | Load: #(uptime | awk '{print $10, $11, $12}')"
|
||||
set -g status-right "#H | up #(uptime | awk '{print $3 \" \" $4}' | sed 's/,//') | Mem: #(~/bin/tmux-free-memory.sh) free | Load: #(uptime | rev | cut -f1-3 -d ' ' | rev)"
|
||||
|
||||
# Auto-set window title
|
||||
setw -g automatic-rename
|
||||
|
|
Loading…
Reference in a new issue