Move ConEmu prompt to new line following path?

这一生的挚爱 提交于 2019-12-13 18:23:27

问题


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.



来源:https://stackoverflow.com/questions/31126044/move-conemu-prompt-to-new-line-following-path

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!