I have Powershell set to use posh-git through Git for Windows. In my profile file I have this:
# If Posh-Git environment is defined, load it.
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1")
. $env:github_posh_git\profile.example.ps1
Every time I open Powershell it requests the passphrase for my id_rsa key. That's fine but it takes longer and longer to actually display the request. When I first set it up this way it prompted for the pass quite fast but the loading times increased over time.
Any suggestions? I don't even know what to begin with in looking into this.
The problem is indeed slow setting of user environment variables. I recently merged a change that uses a temp file instead.
The latest GH4W (1.0.48.0) includes this change.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With