Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Injecting a command into stdin / input
- X-seq: zsh-users 28048
- From: Lawrence Velázquez <larryv@xxxxxxx>
- To: "Zach Riggle" <zachriggle@xxxxxxxxx>, "Roman Perepelitsa" <roman.perepelitsa@xxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: Injecting a command into stdin / input
- Date: Wed, 07 Sep 2022 22:52:29 -0400
- Archived-at: <https://zsh.org/users/28048>
- Feedback-id: iaa214773:Fastmail
- In-reply-to: <CAMP9c5nxY0yOESt2x5=s=soGPA4ZguNf4ZwQJ4YJSjDDtb9whA@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAMP9c5nxY0yOESt2x5=s=soGPA4ZguNf4ZwQJ4YJSjDDtb9whA@mail.gmail.com>
On Wed, Sep 7, 2022, at 9:26 PM, Zach Riggle wrote:
> I've been doing some rather ridiculous things with zsh-defer [1]
Looks like you forgot the link.
https://github.com/romkatv/zsh-defer
> in order to speed up my shell startup time. I've knocked it down by
> about 80%!
>
> The down-side is that the terminal exits if the first input is <enter>,
> but works fine if any command is executed.
>
> How can I inject a command for the first line, e.g. "/usr/bin/clear" in
> order to jerry-rig this to work?
Perhaps Roman can provide some advice, as he is the author of
zsh-defer. (I know he's subscribed to this list, but I've Cc-ed
him for expediency.)
--
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author