Skip to content

Import-Modules in parallel when session profile loaded? #60

@Praful

Description

@Praful

Hello

I've noticed that as I've added modules to my $PROFILE script, the startup time to open a PS terminal has increased. PsFZF, in particular is slow and the author knows this.

I import three modules in my $PROFILE:

Import-Module PSFzf -ArgumentList 'Ctrl+t','Ctrl+r'
Import-Module posh-git
Import-Module oh-my-posh

Is there a way to use Invoke-Parallel (or something else) to load these in parallel to speed up terminal start time?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions