diff --git a/liquidprompt.bash b/liquidprompt.bash index ee4bd03..1d4d78f 100755 --- a/liquidprompt.bash +++ b/liquidprompt.bash @@ -209,7 +209,7 @@ __load_Darwin() __load_SunOS() { - load=$(LANG=C uptime | awk '{print $10}'| sed -e 's/,//') + load=$(LANG=C uptime | awk '{print substr($10,0,length($10))}') echo -n "$load" }