Skip to content

reload flag for "overlay new" command #15747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
j-xella opened this issue May 13, 2025 · 0 comments · May be fixed by #15849
Open

reload flag for "overlay new" command #15747

j-xella opened this issue May 13, 2025 · 0 comments · May be fixed by #15849
Labels
enhancement New feature or request needs-triage An issue that hasn't had any proper look

Comments

@j-xella
Copy link

j-xella commented May 13, 2025

Related problem

If we do overlay use xxx, and then mess it up, we can get back to the beginning with overlay use -r xxx.

This does not seem to be possible for "dummy" overlays created with overlay new yyy. We can hide the overlay, but after that, overlay new yyy will just bring the hidden overlay from hiding.

Describe the solution you'd like

overlay new could have an -r flag, the same as overlay use, which would reset the overlay (to nothing).

Describe alternatives you've considered

Use new overlay with different name; or new instance of the nu shell

Additional context and details

No response

@j-xella j-xella added enhancement New feature or request needs-triage An issue that hasn't had any proper look labels May 13, 2025
@WindSoilder WindSoilder linked a pull request May 29, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage An issue that hasn't had any proper look
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant