LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2007, 10:19 AM   #1
TheGNUbie
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Rep: Reputation: 0
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?

Last edited by TheGNUbie; 03-08-2007 at 10:20 AM.
 
Old 03-08-2007, 11:05 AM   #2
TheGNUbie
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Original Poster
Rep: Reputation: 0
I needed to add it to my profile, sorry.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question : how to edit bashrc pingu99 Linux - Software 5 10-26-2010 07:22 PM
Basic C++ question oulevon Programming 1 02-16-2005 05:55 PM
Basic Question insyte Linux - Wireless Networking 4 09-16-2004 11:57 AM
.bashrc question aizkorri Programming 6 08-14-2002 06:41 AM
Question on .bashrc Fluke Linux - Newbie 2 06-29-2002 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration