This comment has been minimized. Quite simply, the bash terminal used by the latest Git for Windows 2.5.0 (mintty) doesn't bother to read .bashrc - it reads .bash_profile. Using Git Bash with a Custom Theme. ... For MSYS2, mintty is installed by default, or it can be installed later with the command pacman -S mintty. Mintty Themes for Windows. The trick? It is much better than previous windows command prompt based git bash. Third (and last) step is to open regedit (press win+r key then type regedit), go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cygwin_bash\command , edit default … C:\Program Files\Git\etc\profile.d\ Using a text editor that supports unix style files, such as Notepad++, … The Git for Windows Bash prompt is set using a configuration shell script named git-prompt.sh that can be found in the following directory. I updated git for windows and found that it now has mintty as the command prompt for git bash. If you have a theme file and a .zshrc, now is the time to copy that over (~/.zshrc and ~/.oh-my-zsh/themes/). OK, I found out the problem. Colour schemes / Theme file support. I installed Git on my Windows 10 a couple of months ago. I want to change it from pure black to a certain grey. You’ll see Theme select box. There are a number of themes provide with bash-git-prompt and I'd encourage you to … After that, open a bash prompt and type: chere -i. There’s no need to setup the theme … ~/.bashrc fi To compile, go into subdirectory `src` and run `make`. Second, you need to download Mintty and extract mintty.exe into cygwin/bin directory. Also, I found that for the mintty under msys2, the vertical scrollbar is not working. The git status command takes 7 seconds to execute, and git stash takes many minutes for stashing (even if there is nothing to stash). Open Git Bash, right click on the title bar and select Options…. MinTTY(the default terminal of MSys2) description -git bash will use MinTTY as terminal emulator, which sports a resizable window, non-rectangulat selections and Unicode font. I.e. Git Bash aliases node, python, and others to use winpty. Themes are how bash-git-prompt allows for user configuration of the output. So, git-bash / msys2 start under mintty. Mintty has two termcap or terminfo entries, mintty and mintty-direct (the latter reflecting true-colour capability). Mintty Install using Git Alternatively, if you are a git user, you can install the theme and keep up to date by cloning the repo directly into your ~/. Build Building mintty on cygwin needs packages `gcc-core` and `make`. GitHub Gist: instantly share code, notes, and snippets. How to configure mintty's default background color? There is a command line argument for mintty to open maximized.-w, --window normal|min|max|full Mouse scrolling only scroll the command line, not the window. I am unable to scroll back at all. directory. Follow along to install winpty and setup the aliases. I was confused how Git Bash was able to function just fine, yet mintty was failing. ... Open git bash for windows --> options --> theme dropdown. However, it sets the environment variable TERM to xterm by default in order to provide maximal seamless compatibility also in case of remote login. It worked fine for some time. It would be great if I could open the git bash initially maximized. So you can set up your environment in .bash_profile and/or put this code at the start to read .bashrc: if [ -f ~/.bashrc ] then . Sign in to view. Window console porgrams (such as interactive Python) must be launched via 'winpty' to work in MinTTY. In Git-for-Windows, mintty is installed by default and invoked as "Git Bash". But now, it's running so slow. Git branch name in the terminal prompt after teh current path; Mintty is based on PuTTY; It can run fullscreen (yay).