comparison .bash_profile @ 1:7e33b3191cf7

Merged in settings from home, and at the same time edited some of the tests to be easier to read and make more sense. Also added a lot more comments both for others to read if I post these, and for myself to remember if I'm less caffeinated.
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Fri, 10 Apr 2009 20:02:33 +0000
parents c78481cfb082
children f5b253e17e34
comparison
equal deleted inserted replaced
0:c78481cfb082 1:7e33b3191cf7
1 # .bash_profile 1 # .bash_profile
2 # This file is sourced for interactive login shells, or
3 # non-interactive shells with the --login option. So things which you
4 # want to happen only on login shells should go here.
2 5
3 # Get the aliases and functions 6 # Get the aliases and functions
4 if [ -f ~/.bashrc ]; then 7 if [ -f ~/.bashrc ]; then
5 . ~/.bashrc 8 . ~/.bashrc
6 fi 9 fi
7 10
8 # User specific environment and startup programs 11 # User specific environment and startup programs
9 12
10 PATH=$PATH:$HOME/bin 13 # BASH_ENV is sourced for non-interactive shells; however, since we
11 BASH_ENV=$HOME/.bashrc 14 # source ~/.bashrc above I don't think we have to here also.
12 EDITOR=vim 15 # export BASH_ENV=$HOME/.bashrc
13
14 export BASH_ENV PATH EDITOR
15 unset USERNAME
16 16
17 #if [ "X$SSH_AUTH_SOCK" = "X" ] ; then 17 #if [ "X$SSH_AUTH_SOCK" = "X" ] ; then
18 # eval `/usr/bin/ssh-agent` 18 # eval `/usr/bin/ssh-agent`
19 #fi 19 #fi