_lp_cpu_load: fix quoting on Darwin/BSD

This commit is contained in:
Olivier Mengué 2014-07-09 22:48:49 +02:00
parent 9633ac83ca
commit d48aba79a9

View File

@ -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"
}
;;