will use slashes for branches
will use relative path, I hope my brain learns quick
pheww.. fixed the reverse search fuck up.
Here is the deal: (from a comment on http://iftekhar.blogspot.com/2011/06/bash-prompt-reverse-i-search-problems.html)
And if you are searching for unix colored bash fix:
When setting PS1 or PS2, you have to tell the shell if any part of it doesn't advance the cursor. You do that by wrapping those parts of the prompt inside \[ and \] codes. That is:
Code:
PS1=$'\[\e[1;36m\]\u@\h:\[\e[22m\]\w\[\e[1m\]\$ \[\e[00m\]'