本文共 432 字,大约阅读时间需要 1 分钟。
根据的说法,是缺少Powerline字体,
执行以下命令来安装缺失的字体:
wget https://raw.githubusercontent.com/powerline/powerline/develop/font/10-powerline-symbols.confwget https://raw.githubusercontent.com/powerline/powerline/develop/font/PowerlineSymbols.otfsudo mkdir /usr/share/fonts/OTFsudo 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/
然后重启终端,恢复正常:
参考: