[zsh] Add environment variables for OS versions to darwin env
This commit is contained in:
parent
ec54a33422
commit
6e01168049
2 changed files with 5 additions and 0 deletions
1
env
1
env
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue