GitBash:修改GitBash主题配⾊和字体打开GitBash,使⽤命令: cd ~
然后:vi .minttyrc
使⽤下列内容替换已有内容:
Font=Consolas
FontHeight=13
ForegroundColour=131,148,150
BackgroundColour=0,43,54
CursorColour=220,50,47
Black=7,54,66
BoldBlack=0,43,54
Red=220,50,47
BoldRed=203,75,22
Green=133,153,0
BoldGreen=88,110,117
Yellow=181,137,0
BoldYellow=101,123,131
Blue=38,139,210
BoldBlue=131,148,150
Magenta=211,54,130
BoldMagenta=108,113,196
Cyan=42,161,152
BoldCyan=147,161,161
White=238,232,213
BoldWhite=253,246,227
BoldAsFont=-1
FontSmoothing=full
FontWeight=600
FontIsBold=yes
Locale=C
Charset=UTF-8
Columns=110
Rows=26
CursorType=block
重启GitBash,最终效果:
fontweight属性bold------------------------------------------  Cygwin 配⾊⽅案 ----------------------------------------------------
Font=Consolas
FontHeight=9
BackgroundColour=216,230,206
ForegroundColour=0,0,0
CursorColour=0,0,0
Black=0,0,0
BoldBlack=0,0,0
Red=130,68,6
BoldRed=246,155,64
Green=6,130,68
BoldGreen=64,246,155
Yellow=68,130,6
BoldYellow=155,246,64
Blue=68,6,130
BoldBlue=155,64,246
Magenta=130,6,68
BoldMagenta=246,64,155
Cyan=6,68,130
BoldCyan=64,155,246
White=255,255,255
BoldWhite=255,255,255
Columns=120
Rows=34
CursorType=block
BoldAsFont=-1
FontWeight=400
FontIsBold=no
⽤法:在当前⽤户⽬录下新建⼀个  .minttyrc  ⽂件:最终效果:
(完)

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。