.bashrc problem--"ls" output and root prompt
Im a new Debian Etch user, coming from FreeBSD. When i
first installed my system, running the "ls" command
would
give me coloured output (executables one colour,
directories another). Also, when I sudo'ed to root, i
would get the usual "#" prompt as root.
I then copied over my (straightforward) .bashrc file,
and now i dont have the colored output and sudoing to
root
leaves me with a "$" prompt. (I do reset my PS1 line,
but i dont know how to have a different one for root,
keeping
the "#".) Can someone give me a suggestion? My
complete
.bashrc, less comments, and with my CVSROOT masked,
is:
---
PS1='\h\w $ '; export PS1
BLOCKSIZE=K; export BLOCKSIZE
EDITOR=emacs; export EDITOR
CVS_RSH=ssh; export CVS_RSH
CVSROOT= [HIDDEN]; export CVSROOT
PATH="${PATH}":/sbin:/usr/sbin
---
So, nothing fancy. How do i get my coloured "ls" back,
and my "#" prompt as sudo'ed root?
Thanks,
Jen
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
Reply to: