ConEmu -- different color schemes for different tasks

Solution 1:

All in the docs. Just add -new_console:P:"yourpalettename" to your shell command line in the Task

Solution 2:

I've set mine so that different shells have different color theme/scheme, so that I can easily tell whether I'm in PowerShell or Bash or CMD.

Go to ConEmu's "settings".

ConEmu setting window

  1. Click on Tasks
  2. Select the shell/task that I want to change the scheme/theme of
  3. Add -new_console:P:"paletteName"
    • Don't forget to escape < and > with ^

Example: Powershell (Admin) with Powershell theme

powershell.exe -new_console:a:P:"^<PowerShell^>"

Example: Git Bash with Solarized Git theme

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^>"