oh-my-fish / theme-bobthefish

A Powerline-style, Git-aware fish theme optimized for awesome.
MIT License
1.46k stars 225 forks source link

prompt: git projectdir shows the complete absolute path after git status #229

Closed oldlonecoder closed 4 years ago

oldlonecoder commented 4 years ago

I have the absolute path on the left-side of GIT status, then the same absolute path on the right side of the git status - so having twice the absolute path showed in the prompt.

oldlonecoder commented 4 years ago

bobthefish-issue

oldlonecoder commented 4 years ago

Please, notice the path in the image previous comment: it contains "++" characters somewhere in the line. So that's the "bug" that causes the prompt script to cancel the parsing of the path and then, takes the entirety of it.

If I have (free)time, I will take a look to the code and try to figure out how it is parsing the path and so on...

bobthecow commented 4 years ago

I believe this has been fixed now (by 46a89abb9918704ddce5489973e7d0caa865bd73)