Skip to content

Commit

Permalink
fix default config path
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxVerevkin committed Apr 7, 2023
1 parent dba5b87 commit 455addc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl Config {
fn config_dir() -> Option<PathBuf> {
env::var_os("XDG_CONFIG_HOME")
.map(PathBuf::from)
.or_else(|| Some(PathBuf::from(env::var_os("HOME")?).join("config")))
.or_else(|| Some(PathBuf::from(env::var_os("HOME")?).join(".config")))
}

#[derive(Deserialize, Debug, Clone, Copy, PartialEq, Eq)]
Expand Down

0 comments on commit 455addc

Please sign in to comment.