You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default $CmderPrompt calls the CheckGit function. CheckGit calls Import-Git with $gitLoaded as a parameter, and then sets $gitLoaded to the result of Import-Git.
But $gitLoaded is internal to CheckGit, and is not modified outside of it, resulting in a posh-git module importation every time the prompt is displayed.
The text was updated successfully, but these errors were encountered:
daxgames
added a commit
to daxgames/cmder
that referenced
this issue
Nov 3, 2019
The default $CmderPrompt calls the CheckGit function. CheckGit calls Import-Git with $gitLoaded as a parameter, and then sets $gitLoaded to the result of Import-Git.
But $gitLoaded is internal to CheckGit, and is not modified outside of it, resulting in a posh-git module importation every time the prompt is displayed.
The text was updated successfully, but these errors were encountered: