add -f, --force for save command#7262
Conversation
|
LGTM, thanks! |
|
This change might come with a bit of churn for existing configuration files. I believe it has been a common workaround for tools with nu integration to generate and I'm not entirely sure if this already justifies a two-step release with only a warning being shown at first. But I believe it should definitely be highlighted in the release notes. I ran into this while trying to run the latest version from the main branch with this zoxide setup for nu inside my configs: https://github.com/ajeetdsouza/zoxide#step-1-install-zoxide
It's similar for starship: https://starship.rs/#nushell |
|
@remmycat I ran into that identical problem this morning. Adding |
Description
Closes: #6920
User-Facing Changes
Tests + Formatting
Don't forget to add tests that cover your changes.
Make sure you've run and fixed any issues with these commands:
cargo fmt --all -- --checkto check standard code formatting (cargo fmt --allapplies these changes)cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collectto check that you're using the standard code stylecargo test --workspaceto check that all tests passAfter Submitting
If your PR had any user-facing changes, update the documentation after the PR is merged, if necessary. This will help us keep the docs up to date.