mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-29 23:57:51 +00:00
config: use platform-specific directory separator in jj/config.toml
I don't know if Windows actually cares, but it seems more correct this way.
This commit is contained in:
parent
095fb9fef4
commit
3b507e4a2e
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ fn read_config() -> Result<UserSettings, config::ConfigError> {
|
|||
|
||||
if let Some(config_dir) = dirs::config_dir() {
|
||||
config_builder = config_builder.add_source(
|
||||
config::File::from(config_dir.join("jj/config.toml"))
|
||||
config::File::from(config_dir.join("jj").join("config.toml"))
|
||||
.required(false)
|
||||
.format(config::FileFormat::Toml),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue