"mise use" creates new config despite mise.toml existing in current directory #5831
Unanswered
kleinfreund
asked this question in
Troubleshooting and bug reports
Replies: 1 comment 1 reply
-
|
I imagine mise isn't well-tolerating a config file in the home directory root—which isn't a common practice. Could probably be fixed. You could probably also configure that to be your global config if that's the behavior you want. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem statement
Running
mise use nodecreates a new~/.config/mise/config.tomlfile despite~/mise.tomlexisting andmise doctorindicating that it knows about that existing config file. I expected~/mise.tomlto be updated instead. The documentation (https://mise.jdx.dev/configuration.html) also suggests thatmise.tomlshould take priority over~/.config/mise/config.tomlso I'm confused as to why a new configuration file is being created (even without the priority, the fact that~/mise.tomlexists whereas~/.config/misedoesn't should be enough for mise to use the existing file).Running
mise cfgagain, however, seems to contradict the documentation as it now lists~/.config/mise/config.tomlbeforemise.tomlContext
All the following commands were executed in
~.mise cfg:cat mise.toml:mise doctor:References:
Beta Was this translation helpful? Give feedback.
All reactions