Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26603 - /etc/profile suggestion
Summary: /etc/profile suggestion
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-14 04:01 UTC by fbusse
Modified: 2003-08-19 09:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.