From a011083cdaaa08acdc44578272b9a3adcd3f74ac Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 8 Apr 2016 04:13:41 +0200 Subject: fish: pick up completion files from other packages Some packages bring their own completions in /share/fish/vendor_completions.d. Now they are picked up by fish from every path in NIX_PROFILES. --- nixos/modules/programs/fish.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/programs/fish.nix') diff --git a/nixos/modules/programs/fish.nix b/nixos/modules/programs/fish.nix index b4259f7ec87d..7a4b78118ce6 100644 --- a/nixos/modules/programs/fish.nix +++ b/nixos/modules/programs/fish.nix @@ -101,6 +101,9 @@ in end ''; + # include programs that bring their own completions + environment.pathsToLink = [ "/share/fish/vendor_completions.d" ]; + environment.systemPackages = [ pkgs.fish ]; environment.shells = [ -- cgit 1.4.1