New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow longer left prompt / reduce gap to prevent cutting off git information? #1879
Comments
You are using some kind of buggy terminal. Try a different one. |
It's possible that the bug in the terminal doesn't trigger if you switch to Lean style. Another thing to try. |
I'm using Konsole, which is the default in Manjaro KDE Plasma. If it's a terminal bug, is it something you've seen before so I know what to tell Konsole devs then? (edit: or see if the bug already is listed as a known issue) |
I did just try another terminal app and can confirm the issue didn't occur there. |
See #1227 |
You might want to try https://github.com/romkatv/powerlevel10k#meslo-nerd-font-patched-for-powerlevel10k |
Ah, changing the font fixed it. I was using the Manjaro default ('Hack' font), and when all the symbols appeared correctly during I installed the |
The other issue I linked to suggest that the bug is in Konsole and it triggers when displaying glyphs that come from a fallback font. I don't know if this has been reported somewhere. Thanks for confirming that using the recommended p10k font is a viable workaround. |
Now that I knew what to look for, there was even a Manjaro support forum post with the solution. I've posted a new thread over there asking that they add the font to be installed by default (and configure it in the Konsole/Yakuake profiles) since it's needed to properly support the default configuration ... |
Could you post links to the two forum posts you mentioned? |
This is a minor annoyance and I'm hoping there's a setting I can change to solve it. I'm using Manjaro KDE Plasma and only discovered
p10k configure
today, and thought I'd see if making some changes to the default settings might solve this (like going to a 2-line prompt), but it still happens after playing around with it.When the directory path is long enough, the git branch status will get truncated by the end of the prompt, ideally as long as there's a gap between left and right prompts, it should just keep using space to have all the information.
This can be seen in the above screenshot where 'master' is cut off, and you can't see the '?' for untracked files, or anything else that might come after.
I glanced through the ~/.p10k.zsh file but nothing looked like a setting for this particular aspect (some kind of length limit on left prompt).
The text was updated successfully, but these errors were encountered: