Skip to content

PATH env var in pkgx.yaml breaking $PATH #841

Description

@sporkd

Defining a PATH env var in pkgx.yaml causes all other pkgx entries to be lost from my $PATH. Best way to illustrate is with two sessions:

First when a PATH env var is defined

Screenshot 2023-10-27 at 4 09 58 PM

Yarn is not in my path until I run env to reload it.

But commenting out the PATH env var fixes the problem

Screenshot 2023-10-27 at 4 07 31 PM

Now yarn is in my path without reloading the env 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions