配置vscode终端字体

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"

效果:

 

 

 

 

 

https://medium.com/@wifferlin0505/%E5%9C%A8-visual-studio-code-terminal-%E4%B8%AD%E4%BD%BF%E7%94%A8-oh-my-zsh -799cb106df75

你可能感兴趣的:(IT)