一、Cmder的bash终端设置
Use Cmder Embedded Git in VSCode
- Press
Ctrl+,to accessVSCode Settings,或者ctrl+shift+p调出 - Search for
settings.json - Click
Edit in settings.json - Update or add the following to your user settings:把下面两行代码添加到中间位置
"git.enabled": true,
"git.path": "[cmder_root]\vendor\git-for-windows\cmd\git.exe",
if it does not work, you can try another way
"terminal.integrated.shell.windows": "[cmder_root]\vendor\git-for-windows\bin\bash.exe",
Substitute [cmder_root] with your Cmder installation directory.\
设置好以后把终端窗口都关闭,或者文档也关闭,重新新建终端就可以了。
二、Fire code字体添加
1、先去github安装文件,具体的版本中找到压缩包中带有otf文件的,然后在解压的文件中找到otf文件夹,全部选中,右键安装,
2、文件,首选项,设置,搜索字体,控制字体系列,把这行字改为Fira Code,Consolas, 'Courier New', monospace ,记得是逗号,然后就安装成功了。