From 1998f4ef2bf6bfd202311b20352e6032cb1e9474 Mon Sep 17 00:00:00 2001 From: ava Date: Sun, 1 Feb 2026 11:34:06 +0100 Subject: [PATCH] Remove redundant check of XDG_CONFIG_HOME --- src/config.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/config.rs b/src/config.rs index e7a4a47b..29cf0d73 100644 --- a/src/config.rs +++ b/src/config.rs @@ -875,14 +875,9 @@ pub struct ApplicationSettings { } impl ApplicationSettings { - fn get_xdg_config_home() -> Option { - env::var("XDG_CONFIG_HOME").ok().map(PathBuf::from) - } - pub fn load(cli: Iamb) -> Result> { let mut config_dir = cli .config_directory - .or_else(Self::get_xdg_config_home) .or_else(dirs::config_dir) .unwrap_or_else(|| { usage!(