(Windows Git-bash) IntelliJ git bash shell color s

2019-04-14 15:07发布

问题:

(Windows Git-bash) When I use git bash for terminal in a project for IntelliJ I have problems when I log into a docker container and use ls. Text gets highlighted light blue and the color doesn't go away until I exit.

Any thought on how to correct this? I suspect this comes from IntelliJ's recoloring of the shell colors. Perhaps there is a way to remove the influence of the Darkula theme colors?

Here is what the same looks like on a normal OS panel:

回答1:

The solution appears to have been to restore the shell colors to default, and restart all the relevant services. Because I am unsure as to what was preventing the default colors to fix the problem, the solution may require an OS reboot.