Skip to content

speed up loading  #6056

@gasparch

Description

@gasparch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: initIssue or PR related to the initializerEnhancementImproved user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions