How to prevent mise use <x>
from changing global settings
#2303
Unanswered
SamEdwardes
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm having the same behaviour. ❯ mise use -g python@latest
mise ~/.config/mise/config.toml tools: [email protected]
...
❯ cat ~/.config/mise/config.toml
[tools]
go = "latest"
node = "lts"
python = "latest"
poetry = "latest"
usage = "latest"
...
❯ cd test
~/test
❯ ls -lah
total 8.0K
drwxr-xr-x 2 mike mike 4.0K Jul 2 23:05 .
drwxr-x--- 20 mike mike 4.0K Jul 2 23:05 ..
~/test
❯ mise use [email protected]
mise ~/.config/mise/config.toml tools: [email protected]
~/test
❯ cat ~/.config/mise/config.toml
[tools]
go = "latest"
node = "lts"
python = "3.11.9"
poetry = "latest"
usage = "latest" |
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
-
I just installed mise for the first today and so far I am loving it! Great work :)
I have a question about how
mise use
should work.Scenario 1 - no global config
This works as expected. Mise use creates
.mise.toml
to save my preferences.Scenario 2 - global config file
When a global config file exists,
mise use
will override the global file, even if I don't specify-g
. Is this the expected behavior? Is there a way I can prevent this?Beta Was this translation helpful? Give feedback.
All reactions