bring back load avg on macOS
This commit is contained in:
@@ -12,7 +12,10 @@ set -g mouse on
|
|||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
set -g status-interval 10
|
set -g status-interval 10
|
||||||
set -g status-right "#(whoami)@#(hostname) | #(cut -f1 -d \" \" < /proc/loadavg) | %H:%M "
|
if-shell -b '[ "$(uname)" = "Darwin" ]' \
|
||||||
|
'set -g status-right "#(whoami)@#(hostname) | #(sysctl -n vm.loadavg | cut -f2 -d \" \") | %H:%M "'
|
||||||
|
if-shell -b '[ "$(uname)" = "Linux" ]' \
|
||||||
|
'set -g status-right "#(whoami)@#(hostname) | #(cut -f1 -d \" \" < /proc/loadavg) | %H:%M "'
|
||||||
set -g pane-active-border-style fg=cyan
|
set -g pane-active-border-style fg=cyan
|
||||||
set -g status-style fg=black,bg=cyan
|
set -g status-style fg=black,bg=cyan
|
||||||
set -ga terminal-overrides ",xterm-256color:Tc"
|
set -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
|
|||||||
Reference in New Issue
Block a user