Fix new issues

This commit is contained in:
Dylan Araps 2016-08-29 14:22:10 +10:00
parent 0a2fa2b558
commit 26de54e555
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ uptime_shorthand="off"
# Show the path to $SHELL
# --shell_path on/off
shell_path="on"
shell_path="off"
# Show $SHELL's version
# --shell_version on/off

View File

@ -240,7 +240,7 @@ getuptime() {
"Android"*)
uptime=$(uptime | awk -F ' up' '{print $2}')
time="${time//[0-9] user*}"
time="${time//load average:*}"
time="${time//load average*}"
time="${time%,*} ${time##*,}"
;;