When I install the new baselayout, konsole in kde doesn't set PS1. This is caused by the changes in /etc/profile from if [ "$SHELL" = '/bin/bash' ] || [ "$SHELL" = '/bin/sh' ] to if [ "$TERM" != 'dumb' ] && [ -n "$BASH" ] Reproducible: Always Steps to Reproduce: 1. emerge baselayout 1.8.6.6 or 1.8.6.7 2. (re)start kde 3. start konsole Actual Results: PS1 is something like $bash Expected Results: PS1 is the typical user@host:dir > Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) processor GENTOO_MIRRORS="http://gentoo.linux.no/ http://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/gentoo " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex svga java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 snmp cdr scanner tcltk apache2 tiff ipv6 dvd aalib gtk2 ldap xml imap jikes -gnome samba" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I can confirm this bug with baselayout-1.8.6.8-r1 and kdebase-3.1.2
Add '-l' switch to konsole to start a login shell, or add the coloring to your .bashrc. Only login shell should read /etc/profile - dumb shells should not echo in colour.