Zsh prompt looks like line noise

After Aragorn kindly showed me how to get the modern zsh prompt in an older Manjaro install (by installing manjaro-zsh-config + zsh-theme-powerlevel10k, then copying .zshrc to my home directory from from /etc/skel – see How to make Konsole look like it does on newer installations?), I was able to get the new look on one of my older systems.

But after following the same procedure on a second older install, I ended up with this:

Is there a way to make it look like it should?

Can you find a image of how it’s suppose to look and post it? I ask cause shortly after install of a Arch based distro I install Xero Welcome and use their ZSH installer and configurator.

1 Like

Sure! It should look like this:
image

Check the font used in the one that is working and use the same in the other one

3 Likes

You have to use a different font in your Konsole profile. Not all fonts support the glyphs that the Manjaro zsh configuration uses.

Personally I uses Droid Sans Mono, and it works like a charm. :wink:

1 Like

I’m probably missing something, but as far as I can tell the only way to set the font for Konsole is in the Profile, and both systems are using Breath, which appears un-editable and so both should be using the same font?

Also, I forgot to mention that I get the same prompt in Yakuake, if that’s any help.

You can copy the standard Breath profile into a new one, which you can then modify, and which you can then also set as the default.

Out-of-the-box, Yakuake uses the same profile as Konsole. You can change that too in Yakuake’s settings.

Ah! Ok, I created a new profile, set Appearance to Breath, and set Font to Droid Sans Mono 9pt:

But after setting that new profile as the default, closing Konsole, then opening it again, no joy:

Aha! That simplifies things.

:point_down:

❯ pacman -Si zsh-theme-powerlevel10k| grep font
Optional Deps   : ttf-meslo-nerd-font-powerlevel10k: recommended font
                  powerline-fonts: patched fonts for powerline

Most Nerd Fonts and even some regular Mono fonts should work as well.

2 Likes

You have to tick the box “Use line characters contained in font”.

1 Like

Indeed, powerline-fonts wasn’t installed. Installing it seemed to help, as the prompt changed to different line noise at least.

Then after switching to Meslo Nerd Font (which had been installed previously) and ticking “Use line characters contained in font” did the trick.

Thank you, @Yochanan and @Aragorn!

1 Like

I don’t have powerline-fonts installed and my prompt looks fine. :wink:

Take another look. Keyword: Optional

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.