export PS1='[EMAIL PROTECTED]:\w\# '
should do it.  Also make sure that is the right .bashrc that you are using.  There is 
a default one in /etc/bashrc that all users use if there isn't one in their home 
directory.





Curtis Sloan wrote:

Disclaimer: I'm a n00b when it comes to shells/xterms...

I got into customizing my terminals last night (had enough of black on
white rxvt)  ;-) and followed right into customizing my shell this
morning.  Unfortunately, now when I su to root, the default prompt
character is still '$' instead of '#'.

Here's my current .bashrc file:

# .bashrc

export PS1='[EMAIL PROTECTED]:\w\$ '
umask 022

# Adding colour descriptions to files and dirs

export LS_OPTIONS='--color=auto'
eval `dircolors -b`
alias ls='ls $LS_OPTIONS'

# User specific aliases and functions

# Makes current directory title of the console

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

How do I make the root prompt '#' again?

It used to before I made my .bashrc file.  I poked around /etc/profile,
but I didn't see anything obvious (it would have to be!).  ;-)  The OS
is Slackware Linux 9.1.

Any suggestions?

Thanks,
Curtis





_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca



--


Jason Louie BSc. CPSC
Web Applications Developer
Sorex Software Inc.
[EMAIL PROTECTED]



_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to