Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

oh my zsh showing weird character '?' on terminal

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 screenshot for the same.

check the question mark on terminal pointer

I thought powerline would help but that doesn't seem to happen. Can can anyone help me with this?

like image 921
Aditi Kaushal Avatar asked Feb 16 '17 10:02

Aditi Kaushal


People also ask

What do oh my zsh plugins do?

oh-my-zsh is a community-driven framework for managing your ZSH configuration. Includes 120+ optional plugins (rails, git , macOS, hub , capistrano , brew , ant , macports, etc), over 120 themes to spice up your morning, and an auto-update tool that makes it easy to keep up with the latest updates from the community.

How do I change my zsh theme in terminal?

To change the Theme, simply change the ZSH_THEME value in ~/. zshrc file from robbyrussell to Avit.


1 Answers

Run step 1-4 in your iterm2/terminal and you are done.

  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
  5. Reopen the terminal and you are done.

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

You can also refer this long git thread for the same.

like image 63
Imran Ahmad Avatar answered Sep 16 '22 11:09

Imran Ahmad