3 ms·
I agree. A while ago, I was so fed up with how long my prompt took to render, I went through my zshrc and cleaned up a bunch of stuff to make it faster: https:
by secure 9y ago
I agree. A while ago, I was so fed up with how long my prompt took to render, I went through my zshrc and cleaned up a bunch of stuff to make it faster:
https://github.com/stapelberg/configfiles/compare/5ccd3cbd38b67e5ec91671b6fe07d5dded0e96fa...9ee8b13de00c2c84463681fc91f3fd64ae2e4342 https://github.com/stapelberg/configfiles/compare/5ccd3cbd38...
The general techniques used in order of preference are eliminating/skipping work, lazily doing work later, replacing external commands with zsh builtins.
- majewsky 9y agoViewing your diff made me wonder if there is a market for custom-compiled shells, where things like the custom prompt or termtitle are baked in at compilation time.