Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 947 forks source link

Issue for installing powerlevel9k on WSL(windows sub-linux system) #1332

Open peterwang0209 opened 5 years ago

peterwang0209 commented 5 years ago

Hi there, I used to work with powerlevel9k on OSX and I am pretty happy about it. I just build my first windows pc and wish to install powerlevel9k on windows. So I follow this guide, https://twasa.ml/post/wsl/ What it does is basically download the WSl, and install zsh and oh-my-zsh then set up the powerlevel9k on ubuntu then use it on cmder(this part I do not really understand). But it turns out that my terminal did not display the theme that I want it to be. Here are some screenshots and configuration files. Feel free to ask me for more details. Thanks!

The image one is what it looks like defaultly

ubuntu

The image two is what it looks like when I do command

ubuntu2

The image three is where I put the file, it is under the dir .oh-my-zsh/themes, when I download it, it is used to be in the custome folder.

ubuntu3

The image four is my zshrc setting

zshrc

The image five is my bash looking

bash

The last one will be my cmder looking, after follow the guide from the link I provide above.

cmder
romkatv commented 5 years ago

You need to install a Powerline font and use it as your terminal font.

See https://gist.github.com/romkatv/aa7a70fe656d8b655e3c324eb10f6a8b.

peterwang0209 commented 5 years ago

Thanks! you solve my problem! Just one more question. I have been trying to use Dejavu Sans Mono for Powerline this font. Is there a script just like you share with me exist?

romkatv commented 5 years ago

@peterwang0209 Unlikely.

yechs commented 5 years ago

You can try the patched fonts at ryanoasis/nerd-fonts