diff --git a/macos/Sources/Ghostty/Ghostty.Config.swift b/macos/Sources/Ghostty/Ghostty.Config.swift index 86b0ecdb9..c64646e25 100644 --- a/macos/Sources/Ghostty/Ghostty.Config.swift +++ b/macos/Sources/Ghostty/Ghostty.Config.swift @@ -64,7 +64,7 @@ extension Ghostty { // We only do this on macOS because other Apple platforms do not have the // same filesystem concept. #if os(macOS) - if let path, FileManager.default.fileExists(atPath: path) { + if let path { ghostty_config_load_file(cfg, path) } else { ghostty_config_load_default_files(cfg)