From 2cde55691b216956142846587b07a57701190020 Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Thu, 22 May 2025 09:04:33 -0700 Subject: [PATCH] Fish, add nix-your-shell to fish --- hmModules/apps/fish/app.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hmModules/apps/fish/app.nix b/hmModules/apps/fish/app.nix index 0b00897..8c9c680 100644 --- a/hmModules/apps/fish/app.nix +++ b/hmModules/apps/fish/app.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, lib, pkgs, ... }: let functionModule = with lib.types; submodule { options = { @@ -21,6 +21,9 @@ in { config = lib.mkIf config.fish.enable { programs.fish = { enable = true; + interactiveShellInit = '' + ${pkgs.nix-your-shell}/bin/nix-your-shell fish | source + ''; functions = { fish_greeting = ""; fish_prompt = ''