首先出现问题:与父外壳程序和我的tcsh环境相比,mc的子外壳程序具有不同的提示。所有其他设置/变量/别名在mc的子外壳中都可用,只是似乎未正确“通过”提示。我不知道为什么会这样。手册页上说:
An extra added feature of using the subshell is that the prompt displayed by the Midnight Commander is the same prompt that you are currently using in your shell.
背景:我正在使用自己在本地安装的mc.4.8.23(因为没有root权限)。基本上做了这两个步骤:
./configure --prefix=<absolute path>/eda_tools/mc/mc-4.8.23/install --bindir=<absolute path>/eda_tools/mc/mc-4.8.23/bin --with-screen=ncurses
make install
mc的其余部分工作正常。
到目前为止我尝试过的:
有人有想法吗?
尝试将带有提示设置的tcshrc放入〜/ .local / share / mc /目录。我无法通过tcsh进行验证,但是该位置对于mc中的bash子shell肯定适用(使用bashrc)。