- Set an environment variable called
CMDER_ROOT
to your root Cmder folder (in my case C:\Program Files (x86)\Cmder
). It seems to be important that this does not have quotes around it because they mess with concatenation in the init script.
- In your IntelliJ terminal settings, use
cmd.exe /k ""%CMDER_ROOT%\vendor\init.bat""
as the Shell path. The double-double-quotes are intentional, as they counteract the missing double quotes in the environment variable.
- Et voilà!
Unfortunately the lambda symbol is not supported in IntelliJ yet, but everything else seems to be working fine.
source : https://github.com/cmderdev/cmder/issues/282