LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Bash Prompt (https://www.linuxquestions.org/questions/mandriva-30/bash-prompt-120860/)

mandraketux 11-28-2003 07:47 PM

Bash Prompt
 
Usually I am able to change the prompt that looks like "/home/usr"
by adding a Line "PS1=' $PWD $ ' to the .bash_profile
But this does not work with 9.2.Anyone knows how to change?

Skyline 11-28-2003 08:52 PM

Have you tried putting your custom prompts in

.bashrc

?

Just an example:

PS1=”\w Hello $”

mandraketux 11-28-2003 10:05 PM

wow! That was quick.Thanks a lot.


All times are GMT -5. The time now is 04:54 AM.