Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
random thought: using fork to speed loading
- X-seq: zsh-users 23879
- From: frederik@xxxxxxx
- To: zsh-workers@xxxxxxx, Zsh Users <zsh-users@xxxxxxx>
- Subject: random thought: using fork to speed loading
- Date: Wed, 20 Mar 2019 20:27:39 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ofb.net; s=ofb; t=1553138860; bh=k9if1Oe1c3pX7YYmZnZnzoVkTDHWihpRqlCX1thDONo=; h=Date:From:To:Subject:Reply-To:From; b=Q1FDqj8UrEYPYE/Ww9VASRW0CYQIrh5tQKYykmqJLUBGpVhFusN2ZpqVPdxwKaYpq fKRlsWscNCRndQnyFkwZh6TzdGOHiIr0NOzGY74G9J/QpZLkXkHD5NewimYrRECl7d dZtDXTiRsl8QkWYQPU7ydLZOr1/E1v+qBDTMQkti7OzO7/OZQ86X4bS9kVxkojrncD unxoxKTGb1jxHhOWNOJMHAbkwD9wQj8G2q1zxvqNGwE9IvdKC2RQQJFRly5q1UwKxO A7v1IohcmX32NV7+aLFaf995dfhtbBx0/O2YFwmdoylsV7JJSzX8JPXIwT1o7S0a0h 3w2xNVb1B0tYQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: frederik@xxxxxxx
- Sender: <frederik@xxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author