macos: load config file default file locations

This commit is contained in:
Mitchell Hashimoto
2023-03-03 09:01:13 -08:00
parent d8537732dd
commit 2a40bdabca
4 changed files with 26 additions and 2 deletions

View File

@@ -89,6 +89,10 @@ class GhosttyState: ObservableObject {
}
self.config = cfg;
// Load our configuration files from the home directory.
ghostty_config_load_default_files(cfg);
ghostty_config_load_recursive_files(cfg);
// TODO: we'd probably do some config loading here... for now we'd
// have to do this synchronously. When we support config updating we can do
// this async and update later.