Search code examples
zsh

how to disable RPS1 when in midnight commander


Because it is ugly displaying RPS1 under mc.

I try to

alias mc="(RPS1='' ; /usr/bin/mc)"

But, it can NOT work.


Solution

  • You can check if /proc/$PPID/exe pointss to mc and unset it.