diff --git a/modules/programs/intelli-shell.nix b/modules/programs/intelli-shell.nix index d69fba08b..b8fe1b2b0 100644 --- a/modules/programs/intelli-shell.nix +++ b/modules/programs/intelli-shell.nix @@ -80,7 +80,7 @@ in let configPath = if pkgs.stdenv.hostPlatform.isDarwin then - "Library/Preferences/org.IntelliShell.Intelli-Shell" + "Library/Application Support/org.IntelliShell.Intelli-Shell" else ".config/intelli-shell"; in diff --git a/tests/modules/programs/intelli-shell/settings.nix b/tests/modules/programs/intelli-shell/settings.nix index 1e1e2627c..9f423da60 100644 --- a/tests/modules/programs/intelli-shell/settings.nix +++ b/tests/modules/programs/intelli-shell/settings.nix @@ -27,13 +27,13 @@ let configPath = if pkgs.stdenv.hostPlatform.isDarwin then - "Library/Preferences/org.IntelliShell.Intelli-Shell" + "Library/Application Support/org.IntelliShell.Intelli-Shell" else ".config/intelli-shell"; in '' - assertFileExists home-files/${configPath}/config.toml - assertFileContent home-files/${configPath}/config.toml \ + assertFileExists 'home-files/${configPath}/config.toml' + assertFileContent 'home-files/${configPath}/config.toml' \ ${./config.toml} ''; }