Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 26603

Summary: /etc/profile suggestion
Product: Gentoo Linux Reporter: fbusse
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description fbusse 2003-08-14 04:01:15 UTC
The last change in /etc/profile "if [ "$SHELL" = '/bin/bash' ] || [ "$SHELL" = '/bin/sh' 
]" to "if [ "$TERM" != 'dumb'  ] && [ -n "$BASH" ]" causes the KDE-console 
(Konsole) to not have the PS1-definition anymore and just showing the usual 
"bash-2.05b$ " prompt, not the nice coloured one. 
I didn't investigate this any further, but it would be nice to have the PS1-definition in 
Konsole.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-19 08:47:40 UTC
Run 'konsole -l'.  Only a login shell (interactive) sources (or should) 
/etc/profile.
Comment 2 fbusse 2003-08-19 09:04:17 UTC
Just for the record: 'konsole --ls' is the correct command.