fix(tmux): macos load avg
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2cb6ab6f37
commit
bffea54717
|
@ -5,7 +5,7 @@
|
|||
set -e
|
||||
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
uptime | grep -o "[0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+"
|
||||
uptime | tr -d ',' | grep -o "[0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+"
|
||||
else # Linux
|
||||
cut -d " " -f 1-3 /proc/loadavg
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue