Help me fix my stupid .bash_profile

CommunistWithAGunCommunistWithAGun Local Propaganda Guy Join Date: 2003-04-30 Member: 15953Members
.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

Sign In or Register to comment.