feat: yaml merge key

This commit is contained in:
GyDi
2022-09-21 22:15:24 +08:00
parent 39a8ddcfec
commit f7a9ac0ba2
4 changed files with 27 additions and 3 deletions

View File

@@ -283,7 +283,7 @@ impl Profiles {
bail!("failed to read the file \"{}\"", file_path.display());
}
return Ok(config::read_yaml::<Mapping>(file_path.clone()));
return Ok(config::read_merge_mapping(file_path.clone()));
}
}
bail!("failed to find current profile \"uid:{current}\"");