Linux下配置vscode终端字体:
在Ubuntu 18.04.1LTS 下的解决方案(亲测可用),其他版本linux做参考。
下载安装字体
$cd /usr/share/fonts/truetype/
$sudo git clone https://github.com/abertsch/Menlo-for-Powerline.git
刷新字体
$sudo fc-cache -f -v
回到 Vs Code的用户设置.json 中加入以下代码
"terminal.integrated.fontFamily": "Menlo for Powerline",
效果:
Mac下配置vscode终端字体:
在Mac 10.13.6下的解决方案(亲测可用),其他版本做参考。
下载安装字体
$cd /Library/Fonts
$sudo git clone https://github.com/abertsch/Menlo-for-Powerline.git
在vscode中设置字体:
"terminal.integrated.fontFamily": "Menlo for Powerline"
效果: