[zsh] Add environment variables for OS versions to darwin env

This commit is contained in:
Eryn Wells 2020-06-17 08:33:11 -07:00
parent ec54a33422
commit 6e01168049
2 changed files with 5 additions and 0 deletions

1
env
View file

@ -11,6 +11,7 @@
[[ -e "$HOME/.shell-functions" ]] && source "$HOME/.shell-functions"
export SYS=`uname -s | tr A-Z a-z`
# Set this to a non-zero integer to see startup messages
export NOISY=0

View file

@ -1,6 +1,10 @@
# vim: set ft=zsh:
# Eryn Wells <eryn@erynwells.me>
export OSBUILD=`sysctl -n kern.osversion`
export OSVERSION=`sysctl -n kern.osproductversion`
export HWMODEL=`sysctl -n hw.model`
pythonroot="$HOME/Library/Python"
if [[ -d "$pythonroot" ]]; then
for f in `ls "$pythonroot"`; do