Is it possible to have different command line prompt in pure bash and mc? So, sometime i have mc started, but but panels switched off (Ctrl+O), and when i return back to the terminal after some period of time I forget is mc started or not, and some times try to start mc again, or try to switch on panels, when mc is not started.
So, what I try to do: in normal mode path should look like:
PS1=\u@\h:\w$
when in mc mode something like:
PS1=mc \u:\w$
So, the question is: how can i make different PS1 prompts for mc and pure bash?