Skip to content

Fix config reset to use scaffold config files - #14756

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

NotTheDr01ds merged 1 commit into
nushell:mainfrom
132ikl:config-reset-scaffold

Conversation

@132ikl

@132ikl 132ikl commented Jan 5, 2025

Copy link
Copy Markdown
Member

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 Noted in "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 Noted in "Bug fixes" section

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants