diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-07-18 20:20:53 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-07-18 20:20:53 -0400 |
commit | 657934b1f408127799174984cc42932ac7bc1f83 (patch) | |
tree | dbfce1f71f1cf148a1d0ecf4e79e994f1f68cb84 | |
parent | 29d50f48e12e459693528330ddb5c33273bab140 (diff) |
Change global config path
-rw-r--r-- | src/cli.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,8 +22,8 @@ fn main() { let env_file = match Path::new(".env").exists() { true => Some(String::from(".env")), false => { - match Path::new(&dirs::home_dir().unwrap()).join(".hancock").exists() { - true => Some(Path::new(&dirs::home_dir().unwrap()).join(".hancock").to_str().unwrap().to_owned()), + match Path::new(&dirs::home_dir().unwrap()).join(".hancock.conf").exists() { + true => Some(Path::new(&dirs::home_dir().unwrap()).join(".hancock.conf").to_str().unwrap().to_owned()), false => None } } |