zsh的agnoster主题乱码

in agnoster •  7 years ago 

是因为缺少Powerline字体导致的
执行下面的命令来安装字体:

wget https://raw.githubusercontent.com/powerline/powerline/develop/font/10-powerline-symbols.conf

wget https://raw.githubusercontent.com/powerline/powerline/develop/font/PowerlineSymbols.otf

sudo mkdir /usr/share/fonts/OTF

sudo cp 10-powerline-symbols.conf /usr/share/fonts/OTF/

sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/

sudo mv PowerlineSymbols.otf /usr/share/fonts/OTF/

重启终端之后就会恢复正常了

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @a186r! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Do not miss the last announcement from @steemitboard!