Skip to content

Consider a different name for environment variable FILE_PWD #7692

@Hofer-Julian

Description

@Hofer-Julian

#7424 by @kubouch introduced the environment variable FILE_PWD which is set to the directory where the script is.
This feature is much appreciated.

However, I would suggest giving this variable a different name.
pwd is a known Unix command, but it stands for "print working directory".
The "print" doesn't make a lot of sense here.
Also, the name pwd is not very descriptive.

I would instead suggest using FILE_WORKDIR or (if brevity is the priority) FILE_WD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    polishthis problem makes nu feel unpolished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions