Skip to content

FILE_PWD should be set when executing nu script.nu #7139

@kubouch

Description

@kubouch

Related problem

See #7134 -- this changes the cwd in the parser but not the FILE_PWD

Describe the solution you'd like

The FILE_PWD should probably be set the same way as in e.g. overlay use command when running a script with nu script.nu.

Describe alternatives you've considered

No response

Additional context and details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions