_lp_cpu_load: fix quoting on Darwin/BSD
This commit is contained in:
parent
9633ac83ca
commit
d48aba79a9
@ -155,7 +155,7 @@ case "$LP_OS" in
|
||||
# If you have problems with syntax coloring due to the following
|
||||
# line, do this: ln -s liquidprompt liquidprompt.bash
|
||||
# and edit liquidprompt.bash
|
||||
read bol load eol <<<$( LANG=C sysctl -n vm.loadavg )
|
||||
read bol load eol <<<"$( LANG=C sysctl -n vm.loadavg )"
|
||||
echo "$load"
|
||||
}
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user