posh-git
posh-git copied to clipboard
Post Stopped Working After Running Init With MiniConda
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?