posh-git icon indicating copy to clipboard operation
posh-git copied to clipboard

Post Stopped Working After Running Init With MiniConda

Open vetterj73 opened this issue 1 year ago • 0 comments

I am not a Python expert and I am not a Python expert either but I am trying to lean Python. I have the following line of code in my profile.psi file:

#region conda initialize

!! Contents within this block are managed by 'conda init' !!

If (Test-Path "C:\ProgramData\miniconda3\Scripts\conda.exe") { (& "C:\ProgramData\miniconda3\Scripts\conda.exe" "shell.powershell" "hook") | Out-String | ?{$_} | Invoke-Expression } #endregion

When that is in the file Post stops working but when I remove it Posh works. Is there something that I can do or if you are more verse with Python you can tell me what I need to do in order to have miniconda and Posh in my profile?

vetterj73 avatar Jan 22 '25 16:01 vetterj73