Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speed up loading #6056

Closed
gasparch opened this issue Apr 30, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@gasparch
Copy link

commented Apr 30, 2017

is is feasible to make user-configurable confinit invocation?

If I use later in .zshrc additional settings for completion and re-run compinit again - it would be nice to avoid extra costs of security check on that line (by using compinit -C). Otherwise compinit is called several times during zsh startup and that makes startup slower.

Stripping confiration down to 2 invocations of compinit allowed me to have shell start in 100ms, which is totally acceptable. 250ms feels already as a lag while opening terminal.

@mcornella

This comment has been minimized.

Copy link
Collaborator

commented Apr 7, 2019

The current setup runs compinit with -C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.