zsh-workers
 help / color / mirror / code / Atom feed
* random thought: using fork to speed loading
@ 2019-03-21  3:27 frederik
  0 siblings, 0 replies; only message in thread
From: frederik @ 2019-03-21  3:27 UTC (permalink / raw)
  To: zsh-workers, Zsh Users

Dear Zsh People,

I've been wondering how to get my Zsh startup time down. For me, 0.1s
is a bit too laggy, although I've seen reports of people having much
longer startup times, upwards of multiple seconds.

I wonder if there is a way to arrange for Zsh to act like a server,
where instead of starting a new Zsh every time I open a terminal or
Screen window, I could ask some server process, which has already
loaded my .zshrc, to fork and provide a way to communicate with the
child.

Clearly there are potential pitfalls regarding staleness when .zshrc
is modified, having correct parent processes, environment etc.

Also, this question isn't meant to help me address my immediate
practical and very slight needs. I mostly wanted to "throw it out
there" in case others have heard of such a proposal or would find it
interesting to implement.

Thank you,

Frederick

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-21  3:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21  3:27 random thought: using fork to speed loading frederik

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).