Skip to content

PWD not updated properly #5647

@foonathan

Description

@foonathan

Executing the following command:

env -C /tmp fish -c 'echo $PWD'

With fish version 3.0.0 this prints /tmp, as expected.

With fish version 3.0.1 this prints /home/foonathan, which is incorrect.
The same is true when disabling third-party customizations. I'm using Arch Linux and the behavior can be reproduced on all kinds of terminals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intendedregressionSomething that used to work, but was broken, especially between releases

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions