From fb5ac0c870a1b3ffea70e02ab1720d991ce812ae Mon Sep 17 00:00:00 2001 From: r-vdp Date: Thu, 21 Dec 2023 12:19:17 +0100 Subject: [PATCH] nix-index: use interactive shell init for Fish --- modules/programs/nix-index.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/nix-index.nix b/modules/programs/nix-index.nix index 49f4b52e3..cdf3151c6 100644 --- a/modules/programs/nix-index.nix +++ b/modules/programs/nix-index.nix @@ -48,7 +48,7 @@ in { ''; # See https://github.com/bennofs/nix-index/issues/126 - programs.fish.shellInit = let + programs.fish.interactiveShellInit = let wrapper = pkgs.writeScript "command-not-found" '' #!${pkgs.bash}/bin/bash source ${cfg.package}/etc/profile.d/command-not-found.sh