Skip to content
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

Oh-my-zsh's icons don't show correctly #1517

Closed
AlonsoCN opened this issue Dec 18, 2016 · 9 comments
Closed

Oh-my-zsh's icons don't show correctly #1517

AlonsoCN opened this issue Dec 18, 2016 · 9 comments
Labels

Comments

@AlonsoCN
Copy link

AlonsoCN commented Dec 18, 2016

I installed oh-my-zsh following the next instructions (https://github.com/robbyrussell/oh-my-zsh#basic-installation). All fine except icons.

I found that maybe my problem is that I don't have installed powerline fonts on my computer, so I installed it (https://github.com/powerline/fonts), but it still doesn't work.

What could be the problem?

image

Edition: Windows 10 Pro
Version: 1607
OS Build: 14393.576

PS: Sorry for my English, it isn't my native language.

@fpqc
Copy link

fpqc commented Dec 18, 2016

Fonts issue. Install a ttf one of the prepatched powerline fonts. Conhost doesn't handle fallback or OTF yet.

@Efreak
Copy link

Efreak commented Dec 18, 2016

You may also have to configure your command prompt to use the font you want. You can modify the properties in an active command prompt by right-clicking the title bar (or opening a desktop/start menu shortcut's properties)

font config

If you want to use a font that isn't displayed in the list, you can try adding entries to the registry for the fonts you wish to use (the string names should be unique numbers and the values should be font names):
example

@fpqc
Copy link

fpqc commented Dec 18, 2016

Yes, but they must be ttf monospaced.

@AlonsoCN
Copy link
Author

AlonsoCN commented Dec 19, 2016

Thank you for help me figure out what was the problem. It's working now! 😄

My problem was that I installed the fonts by console, executing the install.sh (source: https://github.com/powerline/fonts), so I tried again but adding the fonts to Windows by Control Panel > Appearance and Personalization > Fonts and configuring my console with the next properties:

image

Again, thank you! 👍

@fpqc
Copy link

fpqc commented Dec 19, 2016

Thanks for the smily face =]

@hrai
Copy link

hrai commented Oct 15, 2018

I couldn't find one for consolas

@duocang
Copy link

duocang commented May 23, 2019

I know @AlonsoCN has answered this question very well. But there is still one step missing, so I would llike to share again in 2019.

# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts

Downloading font from https://dejavu-fonts.github.io/, double click you will see an install button.

You can modify the properties in an active command prompt by right-clicking the title bar (or opening a desktop/start menu shortcut's properties)

@jjshanks
Copy link

Adding on to what @duocang said you might need to get DejaVu Sans Mono for Powerline to see the branch icons for git.

@WaKeMaTTa
Copy link

Solution (tried successfuly in Ubuntu 22.04):

sudo apt install fonts-font-awesome fonts-lato

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants