Oh-My-ZSH的主题符号显示乱码
Tofloor
poster avatar
180******93
deepin
2018-08-03 22:24
Author
如题,On-My-ZSH的主题会在Terminal里乱码,求解决方案。

Reply Favorite View the author
All Replies
avatar
woodelf
deepin
2018-08-03 23:34
#1
缺少powerline字体
Reply View the author
avatar
GreenHat
deepin
2018-08-04 01:09
#2
  1. wget https://raw.githubusercontent.com/powerline/powerline/develop/font/10-powerline-symbols.conf
  2.             wget https://raw.githubusercontent.com/powerline/powerline/develop/font/PowerlineSymbols.otf
  3.             sudo mkdir /usr/share/fonts/OTF
  4.             sudo cp 10-powerline-symbols.conf /usr/share/fonts/OTF/
  5.             sudo mv 10-powerline-symbols.conf /etc/fonts/conf.d/
  6.             sudo mv PowerlineSymbols.otf /usr/share/fonts/OTF/
Copy the Code

Reply View the author
avatar
158******08
deepin
2018-08-04 01:25
#3
  1. sudo apt install powerline
Copy the Code

虽然会下点其他的依赖,但是这么安装方便管理,还没上面那么麻烦
Reply View the author