我有Powershell設置爲通過Git for Windows使用posh-git。在我的個人資料文件中,我有這個:Powershell在加載ssh-agent/git時需要很長時間來啓動加載
# If Posh-Git environment is defined, load it.
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1")
. $env:github_posh_git\profile.example.ps1
每當我打開Powershell,它都會爲我的id_rsa密鑰請求密碼。這很好,但實際顯示請求所用的時間越來越長。當我第一次以這種方式設置時,它提示通行速度很快,但是隨着時間的推移,加載時間增加。
有什麼建議嗎?我甚至不知道該怎麼看待這個問題。
Posh-Git啓動對我來說也很慢。看來我們並不孤單:https://github.com/dahlbyk/posh-git/issues/82 – 2013-05-12 16:29:08