From 06451df423dd5e555f39857438ffc16c5b765862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Plagborg=20Bak=20S=C3=B8rensen?= <57013304+kpbaks@users.noreply.github.com> Date: Sun, 8 Jun 2025 06:57:48 +0200 Subject: [PATCH] ghostty: only source fish shell integration script when shell is interactive (#7228) The ghostty script adds hooks that are only relevant in an interactive shell session. --- modules/programs/ghostty.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/ghostty.nix b/modules/programs/ghostty.nix index 6890a63c..43f3d99f 100644 --- a/modules/programs/ghostty.nix +++ b/modules/programs/ghostty.nix @@ -206,7 +206,7 @@ in }) (lib.mkIf cfg.enableFishIntegration { - programs.fish.shellInit = '' + programs.fish.interactiveShellInit = '' if set -q GHOSTTY_RESOURCES_DIR source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish" end