Skip to content

Only ask user if they want to create a config.nu and env.nu one time #13669

Closed

Description

@NotTheDr01ds

Related problem

When starting Nushell without a config.nu or env.nu, Nushell asks the user if they want to create one each time.

Describe the solution you'd like

If the $nu.default-config-dir directory exists, then assume the user has already run Nushell once, said "No" to the prompt, and not prompt again.

Describe alternatives you've considered

No response

Additional context and details

No response

Activity

  1. added
    category:enhancement
    status:needs-triage
    on Aug 22, 2024
  2. added
    delight
    A:configuration
    on Aug 22, 2024
  3. NotTheDr01ds commented on Aug 22, 2024

    @NotTheDr01ds
    ContributorAuthor

    Alternatively, from #13671, just go ahead and write it, but if the user deletes it follow, the rules above (if $nu.default-config-dir exists, don't regenerate default configs.

  4. removed
    status:needs-triage
    on Aug 28, 2024
  5. added this to the v0.99.0 milestone on Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:configurationcategory:enhancementdelight

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions