Bash prompt

Pupeno pupeno at pupeno.com
Thu Jul 6 12:47:42 UTC 2006


On Thursday 06 July 2006 09:40, Tez wrote:
> Pupeno wrote:
> > Hello,
> > I see on .bashrc that there's code to make nicely colorful prompts in
> > Bash, yet, that code seems to never be run (maybe because the console is
> > not detected as xterm ?).
> > I've tried with Konsole and Xterm. Any ideas[1] ?
>
> You have to uncomment the "
> #PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[
>\033[01;34m\]\w\[\033[00m\]\$ ' " line and comment out the section above,
> from "case "$TERM" in" to "esac",
> or you could change "xterm-color)" to "xterm)", both should work, but
> the 1st option will make all consoles color and the 2nd will make only
> xterm color.

Thanks, that worked.
-- 
Pupeno <pupeno at pupeno.com> (http://pupeno.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060706/cbedff3e/attachment.sig>


More information about the kubuntu-users mailing list