Ubuntu 终端zsh的agnoster主题乱码

根据此处csdn博客的说法,是缺少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/

然后重启终端,恢复正常:

Ubuntu 终端zsh的agnoster主题乱码_第1张图片

参考:

blog.csdn.net/u011254082/article/details/52725512

http://tieba.baidu.com/p/4083807142

你可能感兴趣的:(Ubuntu,Linux,Ubuntu&&Linux笔记,Linux,zsh,Linux,zsh终端)