Fix shorthand uptime
This commit is contained in:
parent
7eaf3f3b4d
commit
1c9f19fd21
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -623,7 +623,7 @@ getuptime () {
|
|||
# Make the output of uptime smaller.
|
||||
case "$uptime_shorthand" in
|
||||
"on")
|
||||
uptime=${uptime/up}
|
||||
uptime=${uptime/up }
|
||||
uptime=${uptime/minutes/mins}
|
||||
uptime=${uptime/minute/min}
|
||||
uptime=${uptime/seconds/secs}
|
||||
|
@ -631,7 +631,7 @@ getuptime () {
|
|||
;;
|
||||
|
||||
"tiny")
|
||||
uptime=${uptime/up}
|
||||
uptime=${uptime/up }
|
||||
uptime=${uptime/ days/d}
|
||||
uptime=${uptime/ day/d}
|
||||
uptime=${uptime/ hours/h}
|
||||
|
|
Loading…
Reference in a new issue