Hi, @fixit7
If what you want is that your prompt shows as:
~/Documents$
... instead of appearing as:
andy@andy-To-be-filled-by-O-E-M:~/Documents$
... then I believe you have to do a variation of @tkn's excellent suggestion. Namely, you should add the following lines to your .bashrc
:
if [ "$color_prompt" = yes ]; then
PS1='\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='\w\$ '
fi
unset color_prompt force_color_prompt
I hope this helps