Prompt question when using rxvt in fluxbox
What do I have to edit to make it tell me
user@host: {pwd}$ Instead of: {bash version}$ FYI it also does that in Konsole (it didn't do that when I used KDE. Thanks! |
What's the contents of your ~/.bashrc and ~/.bash_profile (or ~/.bash_login)?
Cheers, Tink |
I don't have those files. The closest I have is ~/.bash_history (which I know doesn't help :p ). Any help is still appreciated!
|
Just a starting block ... :}
~/.bash_login Code:
if [ -e ~/.bashrc ]; then Code:
export PS1="[\u@\h:\w]\$ " Cheers, Tink |
if you dont have the files Tinkster mentions above, you can create them yourself in a text editor, then put your commands in them, and save them to your home directory.
|
Check http://tldp.org/HOWTO/Bash-Prompt-HOWTO/ for more information on prompt customization.
|
Thanks guys, I appreciate the fast responses!
|
All times are GMT -5. The time now is 02:34 PM. |