Fixing bash_profile for use cross-platform

git-svn-id: http://photonzero.com/dotfiles/trunk@6 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
michener 2007-03-21 07:52:02 +00:00
parent 96f8c44980
commit 0d8ca671b3

View file

@ -7,6 +7,17 @@
# remove /usr/games and /usr/X11R6/bin if you want
PATH=$HOME/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin; export PATH
case `uname` in
SunOS)
UCB_PATH=/usr/sww/lang/acl:/usr/sww/lang/jdk-1.5.0/bin:/usr/openwin/bin:/usr/dt/bin:/usr/sww/opt/java/bin:/usr/sww/bin:/share/b/grading/bin:/share/b/grading/sbin:/share/b/runas/sun4u:/share/b/bin:/home/aa/projects/scheme/bin:/usr/ucb:/usr/ccs/bin:/usr/sfw/bin; export UCB_PATH
PATH=$PATH:$UCBPATH; export PATH
;;
Darwin)
MACPORTS_PATH=/opt/local/bin:/opt/local/sbin:/opt/local/usr/bin:/opt/local/usr/local/bin; export MACPORTS_PATH
PATH=$HOME/bin:$MACPORTS_PATH:$PATH; export PATH
export DISPLAY=:0.0
;;
esac
# Setting TERM is normally done through /etc/ttys. Do only override
# if you're sure that you'll never log in via telnet or xterm or a
@ -20,7 +31,6 @@ PAGER=less; export PAGER
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.bashrc; export ENV
XMMS_PATH="tcp://10.42.0.2:6600"
#alias ls='ls -FG'
#alias la='ls -FGal'