Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #21 from obihann/uptime
Browse files Browse the repository at this point in the history
updating the regex used to display uptime
  • Loading branch information
Jeffrey Hann committed Oct 18, 2015
2 parents ce414b7 + a967b4a commit 70ae201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/archey
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ hostname=$(hostname | sed 's/.local//g')
ip=$(dig +short myip.opendns.com @resolver1.opendns.com)
distro="OS X $(sw_vers -productVersion)"
kernel=$(uname)
uptime=$(uptime | sed 's/.*up \+\([^,]*\), .*/\1/')
uptime=$(uptime | sed 's/.*up \([^,]*\), .*/\1/')
shell="$SHELL"
terminal="$TERM ${TERM_PROGRAM//_/ }"
cpu=$(sysctl -n machdep.cpu.brand_string)
Expand Down Expand Up @@ -123,4 +123,4 @@ ${BLUE# } ################ $batteryText
${BLUE# } #### ##### $ipText
${normal}
"
fi
fi

0 comments on commit 70ae201

Please sign in to comment.