Add status messages to shell init files

Mostly for profiling, but I think it's cool to have status occasionally. In the
process, I also did some clean up, moving some stuff between profile, rc, and
env.
This commit is contained in:
Eryn Wells 2012-08-07 11:19:43 -07:00
parent 7b2074e292
commit 1400941de1
6 changed files with 49 additions and 40 deletions

8
env
View file

@ -8,8 +8,13 @@
#
# Eryn Wells <eryn@erynwells.me>
export SYS=`uname -s | tr A-Z a-z`
[ -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
print_info_noisy 1 "Initializing environment for $SYS system"
PAGER="less"
MANPAGER=$PAGER
EDITOR="vim"
@ -33,7 +38,6 @@ PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
export PATH
# System specific environment settings
case $SYS in
darwin)
export PATH=$HOME/Library/Python/2.7/bin:$PATH