我想在 ConEmu 中为不同的任务使用不同的配色方案,但我不知道如何。我看到有关如何为不同程序执行此操作的说明。但是,当我选中覆盖调色板复选框时,没有任何反应,并且不会保留该选项。(我可以覆盖什么?)
有没有办法根据任务而不是应用程序更改配色方案?(应用程序都是一样的,我只是从不同的目录开始等)
谢谢!
我已经设置了我的,以便不同的外壳具有不同的颜色主题/方案,以便我可以轻松判断我是在 PowerShell、Bash 还是 CMD 中。
转到 ConEmu 的“设置”。
-new_console:P:"paletteName"
<并>与^示例:带有 Powershell 主题的 Powershell(管理员)
powershell.exe -new_console:a:P:"^<PowerShell^>"
Run Code Online (Sandbox Code Playgroud)
示例:使用 Solarized Git 主题的 Git Bash
set "PATH=%ConEmuDir%\..\Git\usr\bin;%PATH%" & "%ConEmuDir%\..\Git\git-cmd.exe" --no-cd --command=%ConEmuBaseDirShort%\conemu-msys2-64.exe /usr/bin/bash.exe -l -i -new_console:P:"^<Solarized Git^>"
Run Code Online (Sandbox Code Playgroud)