zsh-users
 help / color / mirror / code / Atom feed
* Injecting a command into stdin / input
@ 2022-09-08  1:26 Zach Riggle
  2022-09-08  2:52 ` Lawrence Velázquez
  2022-09-08  6:24 ` Roman Perepelitsa
  0 siblings, 2 replies; 3+ messages in thread
From: Zach Riggle @ 2022-09-08  1:26 UTC (permalink / raw)
  To: Zsh Users

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

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*

[-- Attachment #2: Type: text/html, Size: 699 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-08  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08  1:26 Injecting a command into stdin / input Zach Riggle
2022-09-08  2:52 ` Lawrence Velázquez
2022-09-08  6:24 ` Roman Perepelitsa

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).