Skip to content

Configuration not evaluated when invoking fish with -c #7620

@eaigner

Description

@eaigner

I tried to evaluate env like this

env -i /usr/local/bin/fish -l -i -c env

The env -i prefix is required for this test to prevent inheriting my local environment.

This should output the environment of a fresh fish interactive login shell, however, it doesn't seem fish evaluates any configuration at all.

Any user PATHs configured in config.fish or fish_variables do not show up in the PATH= line of the output.

System:

fish, version 3.1.2
macOS Big Sur 11.1 (20C69)

Metadata

Metadata

Assignees

No one assigned

    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