zsh considered harmful, not for the first time. This is why I use pdksh.

For those of us who like the openbsd ksh(all two of us) which is derived from pdksh. there is the project oksh.

https://github.com/ibara/oksh

I don't know if this is helpful or just annoying unsolicited "advice"