bash appearance

Christophe Pythoud pythoud at fastnet.ch
Thu Jul 13 03:30:06 PDT 2000


"Walter H. Trent \"Muad'Dib\"" <walter at trent.net> wrote:
> Now that i've got all the bugs worked out of my lfs install, i'm
> trying to make it alittle more friendly (hopefully to completely
> replace redhat sometime soon, probably when 2.4 is released).  Anyway,
> a few things i miss from redhat that i'd like to implement on the lfs
> system, on redhat the bash prompt is [user at machine /path]#   On the
> lfs sys it's just bash-2.04#....   The other thing is the way redhat
> (ls) color-codes files by type....  Sorry if these are stupid
> questions; i'm new at this :)  at least the configuration side of
> things

Hi Walter,

>From my /etc/profile (actualy my /etc/bashrc parsed from /etc/profile):

PS1="\h:\w\\$ "
alias ls="ls --color=tty --classify"
alias ll="ls -l"
alias la="ls -a"

If you prefer the redhat usual prompt, try:

PS1="[\u@\h \W]\\$ "


	Christophe

------
 Christophe Pythoud (pythoud at moria.ch)

--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list