Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting ZSH_THEME="agnoster" doesn't do anything (macOS Catalina)

I just switched from bash to zsh and I want to have the agnoster theme. I have read that to get a theme I just need to set ZSH_THEME="theme_I_want" in ~/.zshrc, but when I change the ZSH_THEME to "agnoster" and run source ~/.zshrc nothing happens.

My only line of code inside ~/.zshrc:

ZSH_THEME="agnoster"

Can anyone tell me what I'm doing wrong?

PD: I already changed my shell from /bin/bash to /bin/zsh and I don't have the .oh-my-zsh file.

like image 544
Gabriel S Avatar asked Oct 27 '25 07:10

Gabriel S


1 Answers

To use the agnoster theme you have to install some fonts. Otherwise you will see some question marks where symbols are supposed to go. Here are the steps to install:

git clone https://github.com/powerline/fonts
cd fonts
./install.sh    ( from terminal / command line )

Open iTerm2->Preferences->Profiles->Change Font-> 12pt Meslo LG S DZ Regular for Powerline After doing that you should see this.

enter image description here

like image 65
Devender Goyal Avatar answered Oct 29 '25 06:10

Devender Goyal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!