-->

Move ConEmu prompt to new line following path?

2019-08-10 11:51发布

问题:

ConEmu by default has a prompt which is like "${cwdfull}>" I'd like instead, "${cwdfull}\n> ". How do I customize this? I see it must be possible since cmdr which is based on ConEmu has it.

Thanks in advance!

回答1:

ConEmu by default

conemu -basic -cmd {cmd}

has following prompt

You can easily check how it is created in Tasks and %ConEmuBaseDir%\CmdInit.cmd batch file. All "magic" is done by PROMPT variable. For example set PROMPT=$P$_$G.

Update

I really do not understand your question from the comment below. Default ConEmu task {cmd (Admin)} has the same prompt and its configuration is done by absolutely the same way.



标签: conemu