解决方案
- 下载
Menlo for Powerline
字体git clone https://github.com/abertsch/Menlo-for-Powerline.git
- 将字体放到ttf文件夹中
cd Menlo-for-Powerline sudo cp *.ttf* /usr/share/fonts/TTF/ sudo fc-cache -f -v # 刷新字体
- 设置vscode中终端的字体为
Menlo for Powerline
参考
- 在Ubuntu 18.04系统下vscode中zsh乱码的解决方法