view .bash_profile @ 4:6ffd3fb73f7f

s/\~\//\$HOME\//g - There's possibly a nicer way to make sure tilde expansion is done in the right places, but this works just as well and doesn't require extra thinking when I'm half asleep :P Added (^|:) to start, and ($|:) to end of all tests to make sure we're matching a full path. Also test for (and append if not there) a ':' at the end of $MANPATH; otherwise Linux systems tend to forget how to search system paths.
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Sat, 11 Apr 2009 06:54:02 +0000
parents 7e33b3191cf7
children f5b253e17e34
line wrap: on
line source

# .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
	. ~/.bashrc
fi

# User specific environment and startup programs

# 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`
#fi