oh my zsh showing weird character '?' on terminal

前端 未结 5 500
不知归路
不知归路 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:49

    Run step 1-3 in your iterm2/terminal

    1. git clone https://github.com/powerline/fonts (clone it anywhere, You can remove cloned dir after step-4)
    2. cd fonts
    3. ./install.sh
    4. Open iTerm2->Preferences->Profiles->Text->Change Font-> Meslo LG S DZ Regular for Powerline

    EDIT: If you are not using iTerm you can simply change the default macOS Terminal Preferences. (Thanks to Kewal Shah)

    Reopen the terminal and you are done.

    You can also refer this thread on git about the same.

提交回复
热议问题