oh my zsh showing weird character '?' on terminal

前端 未结 5 498
不知归路
不知归路 2021-02-01 15:56

I have installed iTerm2 and Oh-my-zsh. However there is a weird question mark that is coming ever since I have changed ZSH-THEME to \"agnoster\".

Attaching the screensho

5条回答
  •  灰色年华
    2021-02-01 16:32

    Installing a powerline patched font will solve this. This official documentation provides description about installing poweline fonts.

    There are two ways to enable powerline patched font in iTerm2.

    1. Set a powerline patched font as default.

    One defauls font

    1. Set a powerline patched font for only Non-ASCII characters and use another font for code.

    Different fonts

    Bonus:

    • Collection of powerline patched fonts
    • Awesome oh-my-zsh themes
      • Spaceship ZSH
      • Buller Train
      • powerlevel9k

提交回复
热议问题