Skip to content

Fix config reset to use scaffold config files#14756

Merged
NotTheDr01ds merged 1 commit intonushell:mainfrom
132ikl:config-reset-scaffold
Jan 5, 2025
Merged

Fix config reset to use scaffold config files#14756
NotTheDr01ds merged 1 commit intonushell:mainfrom
132ikl:config-reset-scaffold

Conversation

@132ikl
Copy link
Copy Markdown
Member

@132ikl 132ikl commented Jan 5, 2025

Description

config reset wasn't updated to use the scaffold config files after they were added, so running config reset would accidentally reset the user's config to the internal defaults. This PR updates it to use the scaffold files.

User-Facing Changes

  • Fixes the config reset command to use the template config.nu and env.nu

Tests + Formatting

N/A

After Submitting

N/A

@NotTheDr01ds NotTheDr01ds merged commit 1b7fabd into nushell:main Jan 5, 2025
@github-actions github-actions bot added this to the v0.102.0 milestone Jan 5, 2025
@NotTheDr01ds NotTheDr01ds added the notes:fixes Include the release notes summary in the "Bug fixes" section label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

notes:fixes Include the release notes summary in the "Bug fixes" section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants