Help me fix my stupid .bash_profile
CommunistWithAGun
Local Propaganda Guy Join Date: 2003-04-30 Member: 15953Members
in Off-Topic
.bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH echo -e "Would you like a hello prompt? (y/n) -->\c" read ANSWER if [ $ANSWER = "y" ] then PS1="Hello There: " fi export MYVAR="My Sample Variable"
the problem is:
my script won't work even after restarting, opening a new shell, or logging in as root. My environment variable MYVAR is also being an asshole and won't show up whenever I do env|grep
help pls
Comments
https://www.dropbox.com/s/e6izazaaxnuuwuc/IMG_20130308_162813.jpg
:edit:
Does that file actually start with '.bash_profile'? if so, try commenting out that line.