配置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

评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值