I have a lot of functions in my shell startup files, and a good fraction of them are generated on the fly via other functions (like macro but with no compilation). This makes my shell very slow to start. I really like to have some kind of forker that just starts zsh, sources the dotfiles, and then stands ready to fork new zsh processes. But I do not know enough system programming to know how to do this. Is this even possible without the feature being built into the terminal emulator itself?
I have a lot of functions in my shell startup files, and a good fraction of them are generated on the fly via other functions (like macro but with no compilation). This makes my shell very slow to start. I really like to have some kind of forker that just starts
zsh
, sources the dotfiles, and then stands ready to fork newzsh
processes. But I do not know enough system programming to know how to do this. Is this even possible without the feature being built into the terminal emulator itself?