mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: only load config files on macos target
This commit is contained in:
@ -126,10 +126,14 @@ extension Ghostty {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load our configuration files from the home directory.
|
// Load our configuration from files, CLI args, and then any referenced files.
|
||||||
|
// We only do this on macOS because other Apple platforms do not have the
|
||||||
|
// same filesystem concept.
|
||||||
|
#if os(macOS)
|
||||||
ghostty_config_load_default_files(cfg);
|
ghostty_config_load_default_files(cfg);
|
||||||
ghostty_config_load_cli_args(cfg);
|
ghostty_config_load_cli_args(cfg);
|
||||||
ghostty_config_load_recursive_files(cfg);
|
ghostty_config_load_recursive_files(cfg);
|
||||||
|
#endif
|
||||||
|
|
||||||
// TODO: we'd probably do some config loading here... for now we'd
|
// 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
|
// have to do this synchronously. When we support config updating we can do
|
||||||
|
Reference in New Issue
Block a user