On Sat, 12 Aug 2023, Fourhundred Thecat via mc wrote:
I normally start mc as: SHELL=/usr/bin/zsh /bin/mc
When i start without the SHELL definition, it also starts lightning fast.
So what happens if you start mc without SHELL definition, does it use a
different shell, because zsh is not your default shell?
But why is it? Starting zsh alone is also lightning fast. Why is it slow
in mc?
I have no idea - I've only pointed you in the direction where to look.
zsh, especially overloaded with plugins, is not generally known to be
lightning fast, but if you say that it starts rather fast without mc, then
it could be that it has something to do with how we hook into zsh to
provide subshell integration.
--
Sincerely yours,
Yury V. Zaytsev
--
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc