dahlbyk / posh-git

A PowerShell environment for Git
http://dahlbyk.github.io/posh-git/
MIT License
7.62k stars 802 forks source link

Posh-git Prompt will not show #967

Closed AWH1122 closed 5 months ago

AWH1122 commented 7 months ago

System Details

Issue Description

I am experiencing a problem with...

Following the install and setup instructions using both chocolatey and powershell gallery, I cannot get the posh-git prompt to show up when in a folder with an initialised repo.

corbob commented 5 months ago

What are you doing to try to get the prompt to display? After the installation, you need to import posh-git in order for it to work.

AWH1122 commented 5 months ago

I found what was going wrong. I am using miniconda as well as posh git. I changed the import order in my powershell profile and everything now functions correctly.

dahlbyk commented 5 months ago

I changed the import order in my powershell profile and everything now functions correctly.

Did you move posh-git before or after? I generally recommend importing posh-git last because we're careful not to overwrite existing customizations.

AWH1122 commented 5 months ago

I imported posh-git after miniconda.