Comment 3 for bug 330633

Revision history for this message
Michael Onnen (michael-onnen) wrote : Re: [Bug 330633] Re: mc midnightcommander wrong $PS1 parser in command line input

On 2009-04-02 at 13:00 -0000, Nuno Silva wrote:

> This happens in konsole and xterm. The easy workaround is to comment out
> the PS1 line mentioned above. The Right Way (C) would be to fix mc.

A better workaround ist to set PS1 specifically for mc's subshell:
$ echo PS1=\'\\u@\\h:\\w\\$ \' >> ~/.mc/bashrc