Open ghost opened 6 years ago
This happens if the first left segment is conditional. The same happens if you disable the left prompt entirely.
So is there a way to disable it?
@midnio Could you tell me if that solves your problem ?
Same problem in Arch linux. Recently I upgrade "zsh-theme-powerlevel9k" package from version 0.6.4-1 to 0.6.6-1, then this occured. But when I downgrade this package to version 0.6.4-1, everything works fine.
This is what I did:
First of all, download zsh-theme-powerlevel9k-0.6.4-1-any.pkg.tar.xz from Archlinux Archive:
zsh-theme-powerlevel9k
Then, just run pacman -U
to downgrade this package:
sudo pacman -U zsh-theme-powerlevel9k-0.6.4-1-any.pkg.tar.xz
Finnaly, add this line to /etc/pacman.conf in line 27 to tell pacman to skip this package from being upgraded:
IgnorePkg = zsh-theme-powerlevel9k
By this way, "zsh-theme-powerlevel9k" will keep in version 0.6.4-1, it's not a perfect way to solve this problem.
Look forward to better solutions.
Besides, if you are using other distro, you can try to extract this package and then copy those files to their dir, or downgrade this package in another way.
Same problem here. Downgrading didn't helped
@JulienPivard I was having the same issue described by the OP, now I'm running 0.7.0 after seeing your PR. I'm using P9K_PROMPT_ON_NEWLINE=true
and am seeing this
.
If I don't set that variable I don't see the blue branch character. Any ideas that don't involve me keeping everything on one line?
Hum I think that's normal behavior. You could try P9K_MULTILINE_NEWLINE_PROMPT_PREFIX=''
.
But if the problem persists, open a new issue and describe it again.
When I do
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(vcs newline dir)
it shows a white prompt, when removing it, there is no problem.