penguin/utils

my env utils

commit 6b079328d34dd5832e017ea2441a38c5fc855562

author斟酌 鵬兄 <tgckpg@gmail.com>
date2022-09-21T09:05:26Z
subjectAdded init-mintty
commit 6b079328d34dd5832e017ea2441a38c5fc855562
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2022-09-21T09:05:26Z

    Added init-mintty
---
 bash/sources/22_win-setups | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/bash/sources/22_win-setups b/bash/sources/22_win-setups
index ff82f55..a87dbd8 100755
--- a/bash/sources/22_win-setups
+++ b/bash/sources/22_win-setups
@@ -27,3 +27,37 @@ function mkuserdirs {
 	fi
 
 }
+
+function init-mintty {
+	cat <<___MINTTY___ > $HOME/.minttyrc
+BoldAsFont=no
+CursorType=block
+Columns=120
+Rows=30
+ForegroundColour=131,148,150
+BackgroundColour=0,20,43
+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
+Transparency=low
+Locale=C
+Charset=UTF-8
+Font=Consolas
+Scrollbar=none
+FontHeight=14
+___MINTTY___
+}