Why is "MINGW64" appearing on my Git bash?

FelipeKunzler picture FelipeKunzler · Sep 2, 2015 · Viewed 68.5k times · Source

I had to format my laptop, and so I had to install Git again. However it is quite different from the one I had yesterday, the icon is not the default orange one anymore, it looks more like Chrome now.

git

The bash is quite different, including a purple "MINGW64" in every line. Why is it there?

Is this the new final version? Or did I download something different?

I downloaded https://github.com/git-for-windows/git/releases/download/v2.5.1.windows.1/Git-2.5.1-64-bit.exe from https://git-scm.com/downloads .

Thanks!

Answer

raygreentea picture raygreentea · Oct 2, 2015

Easiest way to remove 'MINGW64' is to comment two lines in file:

\Git\etc\profile.d\git-prompt.sh
...
# PS1="$PS1"'\[\033[35m\]'       # change to purple
# PS1="$PS1"'$MSYSTEM '          # show MSYSTEM