Perhaps someone, as well as me, some circumstances force the use of Windows. And, perhaps, even in spite of this, you want to see a beautiful, elegant console, for example, like in Ubuntu. However, at the speed of work, unfortunately, it will not be displayed.
As a result, the terminal for git will look something like this:

')
Training
So, we will need:
The installation of these programs, I think, can be omitted. Suppose everything is already installed and in working condition.
First setting
Launch Console2. Appearance depresses, but we will quickly fix it. First of all we connect to it bash from mingw. To do this, go to:
Edit - Settings - Shell and specify the path to
<GIT_HOME>\bin\bash.exe
. Do not forget to add
--login -i
. That is, in the end there should be something like
D:\dev\git\bin\bash.exe --login -i
.
If suddenly something went wrong and Console2 stopped running, there is a
console.xml
next to the directory in which you can undo the changes.
Click
OK , restart Console2. We see the familiar mingw interface:

We improve the appearance
Personally, I do not like this appearance of the command line. So, create an empty
.bashrc
file and put it in your
USER_HOME
directory. The problem is that Windows most likely will not allow you to create a file with a dot at the beginning, and without a dot it will not be picked up. Therefore, to create such a file, we use notepad / notepad ++ and save it without an extension. Or you can take a ready-made
.bashrc
from Ubuntu.
There is a great
tutorial for customizing the console. Choose any template you like and add it to the
.bashrc
file.
For example, like this:
PS1='\[\033[01;32m\]your-name\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s)") \[\033[01;34m\]$\[\033[00m\] '
There you can add such buns as aliases:
PS1='\[\033[01;32m\]your-name\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s)") \[\033[01;34m\]$\[\033[00m\] ' alias awesome="cd D:/dev/SomeProject"
We save. Restart Console2. Now it's better:

And of course, how can you work without a translucent background. Go to the Console2 settings, look at the
Appearance - More ... - Window transparency submenu. Also pay attention to the ability to remove unnecessary menus, frame, etc. I have done this:

Customize the font, window size, and voila - we have a beautiful minimalistic console, as in the very first screenshot. You can also add a thin single-pixel frame by checking the box next to
Border . So it will look a little better, without merging with the surrounding background.
Conclusion
In Console2, there are still a lot of settings, such as shortcuts or selecting the type of cursor, but this is beyond the scope of this small article. I hope such customization for someone will be new and will please.
Have a good mood!