Skip to content

config env/config nu opens the default file #8755

Closed

Description

@JadoJodo

System Details

Nu Version: 0.77.1
Platform: macOS 12.6.3

Steps To Recreate

  1. Launch nu with config/env values defined with the --config and --env flags.
  2. Run config nu or config env

Expected Behavior

Nu opens the file defined in $nu.config-path or $nu.env-path: /Users/myuser/.config/nushell/config.nu or /Users/myuser/.config/nushell/env.nu.

Actual Behavior

Nu opens the file defined in the default location: /Users/myuser/Library/Application Support/nushell/env.nu or /Users/myuser/Library/Application Support/nushell/config.nu

Activity

  1. added
    category:bug
    on Apr 5, 2023
  2. fdncred commented on Apr 5, 2023

    @fdncred
    Contributor

    Seems like a bug. Thanks for letting us know.

  3. added
    good first issue
    on Apr 5, 2023
  4. ito-hiroki commented on Apr 6, 2023

    @ito-hiroki
    Contributor

    I'm interested in contributing to this issue.
    Can I work on it?

  5. fdncred commented on Apr 6, 2023

    @fdncred
    Contributor

    I'm interested in contributing to this issue.

    Can I work on it?

    Sure. I've assigned it to you.

  6. added a commit that references this issue on Apr 7, 2023
    a3ea0c3
  7. added this to the v0.79.0 milestone on Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

category:buggood first issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions