
August 19th, 2002
|
 | doesn't get out much | | Join Date: June 8th, 2002 Location: Texas
Posts: 128
| |
Why say the same thing twice? Quote: Originally posted by Unregistered Here's my .bash_profile file.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.0_01/jre/bin
export JAVA_HOME=/usr/java/j2sdk1.4.0_01/jre
export PATH=$JAVA_HOME/bin:$PATH
export PATH
unset USERNAME | That seems pretty complicated ... all mine says is:
PATH=$PATH:$HOME/bin:usr/java/j2se1.4.0_01/bin
export PATH
unset USERNAME
exporting your path statment twice seems redundant. |