You are not logged in.
When I launch Konsole as a user I get a blank prompt: sh-3.1$
When I launch Konsole as root I get: [root@host directory]#
I have searched Google and the forums and found Konsole reads .bashrc in the users /home directory for the prompt commands, etc. I have edited .bashrc and it does not change. If I execute: source .bashrc I get the prompt I want, any ideas? I have tried both .bashrc and .bash_profile.
KDE 3.5.2 and all the updates via pacman.
Thank you.
Offline
When I launch Konsole as a user I get a blank prompt: sh-3.1$
When I launch Konsole as root I get: [root@host directory]#I have searched Google and the forums and found Konsole reads .bashrc in the users /home directory for the prompt commands, etc. I have edited .bashrc and it does not change. If I execute: source .bashrc I get the prompt I want, any ideas? I have tried both .bashrc and .bash_profile.
KDE 3.5.2 and all the updates via pacman.
Thank you.
You can try starting konsole as a login shell: either start konsole via
konsole --ls
or change the konsole session to start
/bin/bash --login
instead of
/bin/bash
Otherwise, you can try to use some environment variables in the global and local bash startup scripts to try to figure out which file is getting loaded and in what order. Your ~/.bashrc might be being read but the settings over-ridden by some subsequent startup script.
Offline