I observed that my custom bash prompt does not work on mc
. How do I customize it?
How to change mc (midnight command) bash prompt on OS X
bashterminal
bashterminal
I observed that my custom bash prompt does not work on mc
. How do I customize it?
Best Answer
The issue is that .bash_login files are only read when bash is run as the login shell. mc probably just calls a new shell which will read its startup from ~/.bashrc See bash documentation for details.
To make the shell run in a common way it is often suggested that you call .bashrc from .bash_login e.g.