When the (&mise activate pwsh) | Out-String | Invoke-Expression is added to $PROFILE location profile, it does not throw an error and it works.
When it is added on profile.ps1 after running Edit-Profile to edit the profile that extends the $PROFILE it throws an error when new terminal session is started.
I was gonna post the issue on mise github page but when added on $PROFILE it was not giving error, or when running the command in the terminal. The tool is https://github.com/jdx/mise
When the
(&mise activate pwsh) | Out-String | Invoke-Expressionis added to$PROFILElocation profile, it does not throw an error and it works.When it is added on
profile.ps1after runningEdit-Profileto edit the profile that extends the$PROFILEit throws an error when new terminal session is started.I was gonna post the issue on mise github page but when added on
$PROFILEit was not giving error, or when running the command in the terminal. The tool is https://github.com/jdx/mise