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

Injecting a command into stdin / input



Hello All!

I've been doing some rather ridiculous things with zsh-defer [1] 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?

Zach Riggle



Messages sorted by: Reverse Date, Date, Thread, Author