Open futuremotiondev opened 1 year ago
Hi @fmotion1 . Sorry for the late reply. When you say it doesn't work, please be aware, you are not expected to get git tab completion UNTIL your working directory is in a git repo's root (this is where .git folder is). That is the point of the module to defer import of posh-git (which takes time) up until the point when one actually is inside a git directory. Can you confirm whether you can get it working with this please?
I'm on Pwsh
v7.3.7
Install-Module -Name 'lazy-posh-git' -AllowClobber
Import-Module 'lazy-posh-git -ArgumentList 'C:\Users\[username]\Documents\PowerShell\gitprompt.ps1'
You can see that posh-git is still loading at launch. If I comment out posh-git entirely, nothing works and I get no prompt in git repositories.
Am I doing things incorrectly?