Config Environments #4307
Replies: 1 comment
-
The way I read it - And my interpretation of https://mise.jdx.dev/configuration/environments.html is that you can place a environment file, anywhere that the top level mise config files can be placed. One way to document this clearer may be to identify the directory in which mise files can be placed, and the naming pattern in each directory. i.e. (generated this list from an LLM as i couldn't be bothered typing and extrapolating it) Current directory and parent directories can contain:
Current directory and parent directories can also have these paths:
Current directory and parent directories can also have these paths:
Global config locations:
System config location:
Key notes:
|
Beta Was this translation helpful? Give feedback.
-
When I look at this page :
https://mise.jdx.dev/configuration/environments.html, it seems that only these configurations are allowed :
But If I look here https://mise.jdx.dev/configuration.html#mise-toml it seems this is also possible :
.mise.{MISE_ENV}.toml
with a dot at firstIt is not clear to me what files are really allowed and in which order there are handled
Second thing I found curious, when doing
mise use -g tool@latest
, mise add this tomise.{MISE_ENV}.toml
file and not to mise.toml (or even the .config/mise/mise.toml file)... Is it a bug ?Beta Was this translation helpful? Give feedback.
All reactions