Results 1 to 4 of 4
How would I go about telling 'bash' to stop showing me what DIR I am in all the time. I usually know where I am and if I don't I ...
- 07-22-2007 #1
Removing the automatic displayed DIR in the shell?
How would I go about telling 'bash' to stop showing me what DIR I am in all the time. I usually know where I am and if I don't I can just type 'pwd'. I've been going into some deep directories and it's becoming annoying having all of that text displayed for no reason. I've looked in the 'bash man' pages but haven't found anything... maybe I have missed it.
Here's what I'm referring to:
root@Mimas:/opt/lampp/htdocs/wiseEssentials/includes/templates/wiseTemplate/css# cd /usr/share/
- 07-22-2007 #2
You need to modify the $PS1 variable, more info here Custom Bash Shell Prompts | HackTux
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 07-22-2007 #3
Open .bashrc file and remove \w from value of PS1.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-22-2007 #4
Thanks! I knew it would be easy but I just couldn't find the info.
All I had to do was type: $ export PS1="<\u@\h>$ " which produces <flipjargendy@Mimas>$


Reply With Quote