LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   basic .bashrc question (https://www.linuxquestions.org/questions/linux-newbie-8/basic-bashrc-question-535703/)

TheGNUbie 03-08-2007 10:19 AM

basic .bashrc question
 
when I edit my .bashrc to give me some additional information other than
-sh-3.00$
Nothing happens. Currently I have:
Quote:

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions
export PS1='\u@\h:\w\$ '
when I manually enter export PS1='\u@\h:\w\$ ' at the prompt it works.

So I assume the /etc/bashrc is overriding it?

How can I get around this?

TheGNUbie 03-08-2007 11:05 AM

I needed to add it to my profile, sorry.


All times are GMT -5. The time now is 10:37 PM.