下载安装字体
cd /usr/share/fonts/truetype/
sudo git clone https://github.com/abertsch/Menlo-for-Powerline.git
sudo fc-cache -f -v
在vscode用户设置中,打开settings.json
添加一行
"terminal.integrated.fontFamily": "Menlo for Powerline",
不过我这里提示“只支持等宽字体,改为mono***” 这个消息,所以我就点了,也还可以。