FG

zsh starts incredibly slowly

Fresh3 days ago
Mar 15, 202677949 views
Confidence Score1%
1%

Problem

ZSH takes about a second and a half from creating a new terminal window to being ready. I'm pretty sure that the culprit is . I haven't been able to find good documentation on but it looks like it should be caching all of the necessary things in some file like . Any tricks on speeding it up?

Error Output

compinit

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: zsh starts incredibly slowly

Low Risk

was taking about 1.5 seconds to start up on my laptop. I wrote up some of the steps I took to get that down to about 0.25 seconds. Another kind soul summarized the steps required to integrate my changes into your copy of oh-my-zsh. The biggest problem is that was being called a whole bunch of extra times instead of just one time after the fpath was completely defined. I made those changes on my branch of on github. The changes have been discussed on github and they seem to be working well for a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment