Re: How to determine if a shell is running under MC...?


Congrats and thanks for v.4.6.0!!

One change is that the ENV variable MC_CONTROL_FILE is gone.
I used it's existence to set my shell's prompt a certain way:


If you are only interested in bash, you can create file .mc/bashrc and it
will be sourced in the shell that is run by mc.  You can set whatever you
want in that file, including PS1.

Pavel Roskin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]