Mercurial > index.cgi > dotfiles
diff .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 |
line wrap: on
line diff
--- a/.bash_profile Fri Apr 10 17:51:18 2009 +0000 +++ b/.bash_profile Fri Apr 10 20:02:33 2009 +0000 @@ -1,4 +1,7 @@ # .bash_profile +# This file is sourced for interactive login shells, or +# non-interactive shells with the --login option. So things which you +# want to happen only on login shells should go here. # Get the aliases and functions if [ -f ~/.bashrc ]; then @@ -7,12 +10,9 @@ # User specific environment and startup programs -PATH=$PATH:$HOME/bin -BASH_ENV=$HOME/.bashrc -EDITOR=vim - -export BASH_ENV PATH EDITOR -unset USERNAME +# BASH_ENV is sourced for non-interactive shells; however, since we +# source ~/.bashrc above I don't think we have to here also. +# export BASH_ENV=$HOME/.bashrc #if [ "X$SSH_AUTH_SOCK" = "X" ] ; then # eval `/usr/bin/ssh-agent`