ConEmu——不同任务的不同配色方案

Ant*_*cci 12 conemu

我想在 ConEmu 中为不同的任务使用不同的配色方案,但我不知道如何。我看到有关如何为不同程序执行此操作的说明。但是,当我选中覆盖调色板复选框时,没有任何反应,并且不会保留该选项。(我可以覆盖什么?)

有没有办法根据任务而不是应用程序更改配色方案?(应用程序都是一样的,我只是从不同的目录开始等)

谢谢!

Max*_*mus 16

全部在文档中。只需-new_console:P:"yourpalettename"任务中添加到您的 shell 命令行


ott*_*pro 8

我已经设置了我的,以便不同的外壳具有不同的颜色主题/方案,以便我可以轻松判断我是在 PowerShell、Bash 还是 CMD 中。

转到 ConEmu 的“设置”。

ConEmu 设置窗口

  1. 点击任务
  2. 选择我要更改其方案/主题的外壳/任务
  3. 添加 -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)