Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Injecting a command into stdin / input



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