summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alacritty/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs
index c68f3cfb..85a4fc5e 100644
--- a/alacritty/src/main.rs
+++ b/alacritty/src/main.rs
@@ -235,6 +235,10 @@ fn run(
}
fn log_config_path(config: &Config) {
+ if config.ui_config.config_paths.is_empty() {
+ return;
+ }
+
let mut msg = String::from("Configuration files loaded from:");
for path in &config.ui_config.config_paths {
msg.push_str(&format!("\n {:?}", path.display()));