From 1958bbc20349e1081c62b4c099d25c553c6fc397 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 10 Dec 2024 19:34:35 +0100 Subject: fish: use home-manager's nix-your-shell integration --- user/settings/fish.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/user/settings/fish.nix b/user/settings/fish.nix index 0f6bdcc6..480c9ade 100644 --- a/user/settings/fish.nix +++ b/user/settings/fish.nix @@ -31,9 +31,7 @@ }; } ]; - # TODO: pre-generate nix-your-shell interactiveShellInit = '' - ${pkgs.nix-your-shell}/bin/nix-your-shell --nom fish env | source bind \es __ghq_repository_search # don't bind ctrl-t, it does nice things on macOS/BSD set FZF_CTRL_T_COMMAND @@ -88,4 +86,8 @@ recursive = true; source = ./fish/functions; }; + + programs.nix-your-shell = { + enable = true; + }; } -- cgit 1.4.1