shell配色方案搞砸了Docker

shell配色方案搞砸了Docker

本文介绍了(Windows Git-bash)IntelliJ git bash shell配色方案搞砸了Docker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(Windows Git-bash)当我在IntelliJ的项目中使用git bash作为终端时,当我登录docker容器并使用 ls 时,我遇到问题。文本被突出显示为浅蓝色,颜色在我退出之前不会消失。

(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.

有什么想法如何纠正?我怀疑这是来自IntelliJ对外壳颜色的归类。也许有办法去除Darkula主题色彩的影响?

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:

推荐答案

解决方案似乎是将shell颜色恢复为默认值,并重新启动所有相关服务。因为我不确定什么是阻止默认颜色来解决问题,解决方案可能需要重新启动操作系统。

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.

这篇关于(Windows Git-bash)IntelliJ git bash shell配色方案搞砸了Docker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 16:34