- Author
- Scott Spence
- Published
- February 1, 2025
- Kind
- Personal blog post, with before and after config
- Original
- scottspence.com/posts/speeding-up-my-zsh-shell
- Subject
- Software tools and craft
What it is
Scott Spence writes a personal blog. This post describes speeding up a zsh shell that took over five seconds to open. The page says it was updated after the original date.
What it says
- Spence says zsh took more than five seconds to open a new terminal.
- The post says zsh's built-in zprof tool profiles startup.
- The profile blamed Oh-My-Zsh for over half of startup time.
- Spence rebuilds the completion cache only once a day instead of every startup.
- The post reports startup fell from about 5s to about 0.5s, a tenfold gain.
- Spence advises trying fixes one at a time and keeping a fast-enough setup.
What evidence it gives
The post gives profiler percentages, config snippets, and full before and after files. A table lists approximate totals. It does not show how the totals were timed.
Interests and limits
It reflects one machine and one setup with Oh-My-Zsh and the Spaceship prompt. The totals are approximate. Other setups may gain less. The linked posts and sources were not read.