title: Windows 下使用 git bash 自带的功能配置终端主题
description: 意外发现 git bash 里自带跳转到一个配置终端主题颜色的 Web
redirect: 2018-12-02-windows-git-bash
description: 意外发现 git bash 里自带跳转到一个配置终端主题颜色的 Web
简介
在使用 git 配置时点击了颜色配置工具跳转到了一个 github page 里,发现是一个可视化配置的工具,它可以生成多种终端的颜色主题文件。
快速入门
windows 下的 git bash 的响应配置文件是 c/${username}/.minttyrc 或者 ~\.minttyrc,所以你现在项目导出的文件类型也应该是 mintty 的,不过好像要右键打开新的链接,自身不会跳转(主要是浏览器会拦截 data:// 这种 URL )。
附录
下面是我的配置文件,导出的文件是下半部分,上半部是其它配置。
BoldAsFont=-1Locale=zh_CNCharset=UTF-8Language=zh_CNFontHeight=12Font=ConsolasBackgroundColour=10,20,30ForegroundColour=166,196,225CursorColour=166,196,225Black=61,61,61BoldBlack=83,83,83Red=210,63,105BoldRed=229,144,168Green=105,210,63BoldGreen=168,229,144Yellow=210,168,63BoldYellow=229,205,144Blue=63,105,210BoldBlue=144,168,229Magenta=168,63,210BoldMagenta=205,144,229Cyan=63,210,168BoldCyan=144,229,205White=233,233,233BoldWhite=255,255,255
