Skip to content

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

@NotTheDr01ds

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:configurationIssue related to nu's configurationcategory:enhancementNew feature or requestdelightthis feature would delight users

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions