Skip to content

Commit

Permalink
fix: correctly use .mise/config.$MISE_ENV.toml files
Browse files Browse the repository at this point in the history
Fixes #2168
  • Loading branch information
jdx committed May 24, 2024
1 parent 88f43f8 commit cace97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,9 @@ pub static DEFAULT_CONFIG_FILENAMES: Lazy<Vec<String>> = Lazy::new(|| {
if let Some(env) = &*env::MISE_ENV {
filenames.push(format!(".config/mise/config.{env}.toml"));
filenames.push(format!(".config/mise.{env}.toml"));
filenames.push(format!("mise/config.{env}.local.toml"));
filenames.push(format!("mise/config.{env}.toml"));
filenames.push(format!("mise.{env}.toml"));
filenames.push(format!(".mise/config.{env}.local.toml"));
filenames.push(format!(".mise/config.{env}.toml"));
filenames.push(format!(".mise.{env}.toml"));
filenames.push(format!(".config/mise/config.{env}.local.toml"));
filenames.push(format!(".config/mise.{env}.local.toml"));
Expand Down

0 comments on commit cace97b

Please sign in to comment.