Open mbokman opened 7 years ago
Yup, bug. Easiest workaround is to use bash v4 (default on mac is v3). To fix: % brew install bash (don't have homebrew? Google it to install)
You should then have trimmed prompts so just two folders and ..., which will make things much easier overall.
Heya, thanks for the response. I will try the bash update via brew.
I installed bash via brew and added it to my /etc/shells
. I do not see the issue anymore with not correctly interpreting [34;43m and the cursor placement now also looks good.
However, sometimes the blue color still bleeds over, as shown in the screenshot below.
I also do not have the trimmed prompts, is there something I need to do to enable those explicitly?
hmm. progress at least!
what do you see when you run bash --version? Colors look way off now.
For dirtrim, what does:
% echo $PROMPT_DIRTRIM
show? and if nothing, what happens when you do the following:
% export PROMPT_DIRTRIM=2
Apologies, the colors are way off because it is a screenshot of me using Terminal.app where it is a known issue that the colors are incorrect. I have executed the commands you requested, I will provide the answers by means of a screenshot using iTerm2.
It looks like I am using the right version of bash, PROMPT_DIRTRIM is set correctly but still no trimmed prompts.
Thanks very much for your help!
Had the same problem, fixed it by using a different font, this one : Droid Sans Mono Dotted for Powerline Regular.
Hiya,
First of all kudos on the nice work with agnoster-bash!
I am using this theme since recently and I think I have everything set up correctly but I am frequently encountering two issues:
I am pretty much a shell/bash noob and I have no idea where to look for a solution.
I am running the latest stable release of iTerm2, using the 13pt Meslo LG M DZ Regular for Powerline font. My terminal emulation is set to ansi. This is a screenshot of a macOS High Sierra beta but I have the same issue on the latest release of Sierra, also when using Terminal.app.