From 56eeaad725e1f06f650b56dcc1008af2c50a8bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Sun, 13 Apr 2025 14:05:16 +0200 Subject: [PATCH] feat(fish): add plugin to pick up completions in nix shells --- modules/moritz/programs/fish.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/moritz/programs/fish.nix b/modules/moritz/programs/fish.nix index d96f9b0..026452f 100644 --- a/modules/moritz/programs/fish.nix +++ b/modules/moritz/programs/fish.nix @@ -29,6 +29,15 @@ in programs = { fish = { enable = true; + plugins = [{ + name = "fish-completion-sync"; + src = pkgs.fetchFromGitHub { + owner = "pfgray"; + repo = "fish-completion-sync"; + rev = "ba70b6457228af520751eab48430b1b995e3e0e2"; + sha256 = "sha256-JdOLsZZ1VFRv7zA2i/QEZ1eovOym/Wccn0SJyhiP9hI="; + }; + }]; shellAbbrs = shellConfig.abbreviations; shellAliases = shellConfig.aliases; shellInit = /* fish */ ''