Skip to content

"(&mise activate pwsh) | Out-String | Invoke-Expression" inside the profile.ps1 throws MethodInvocationException #185

@luzede

Description

@luzede

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.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions