-
Notifications
You must be signed in to change notification settings - Fork 229
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
feat: cleanup invalid symlinks in .local/state/mise/(tracked|trusted)-configs #2036
Conversation
I think I'd prefer |
This was my first thought as well but i would not like to prune any tools so it felt a bit weird to use an option and have to pass the additional |
Ah yeah I did not think of that |
We probably also should also ensure in |
I'm not sure. I think there probably will be some small subset of users with directories that come and go which also use prune to clear out old tools—they may want references that don't exist |
Up until now, the tracked configs have been cleanup up as part of |
Here's a thought, maybe we put everything under It might be worth looking at what |
Fixes #2020 by introducing an experimental
mise config prune
command to prune invalid config file references from.local/state/mise/(tracked|trusted)-configs
.