How to set blank line before every new prompt for bash on cmder?

Solution 1:

The following example will work on Linux only, so you will have to login into Linux (directly or remote) to benefit from it.

You can use \n (newline, or next line) to add a blank line to $PS1, but for this to work your ~/.bashrc doesn't need to have any fancy stuff that will change your prompt.

export PS1="\n${PS1}"

To automate this you need to add this to your ~/.bashrc at the bottom of that file.

When your $PS1 is edited already then you need to post this too, because we can't assume what else will work and what not.