# Fix slow loading or freezing midnight commander (mc) with zsh

> Midnight Commander opens up a new subshell at start which you can access with CTRL+O. Thing is this subshell will on certain shells like zsh make `mc`…

- URL: https://graffino.com/til/fix-slow-loading-or-freezing-midnight-commander-mc-with-zsh
- Author: Zeno Popovici
- Channel: sysops
- Published: 2021-05-07
- Updated: 2026-03-26

Midnight Commander opens up a new subshell at start which you can access with CTRL+O. Thing is this subshell will on certain shells like zsh make `mc` sluggish or freeze. A quick fix is to disable that subshell if you don't use it that often.

Just add this to your `.zshrc` file

```bash
alias mc="mc --nosubshell"
```

This will greatly improve mc's speed.
