Skip to content

Instantly share code, notes, and snippets.

View icharge's full-sized avatar

Norrapat Nimmanee icharge

View GitHub Profile
@icharge
icharge / archey
Created July 6, 2014 14:51 — forked from narate/archey
#!/bin/bash
# System Variables
user=$(whoami)
hostname=$(hostname | sed 's/.local//g')
distro="OS X $(sw_vers -productVersion)"
kernel=$(uname)
uptime=$(uptime | sed 's/.*up \([^,]*\), .*/\1/')
shell="$SHELL"
terminal="$TERM"