1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00

nix-index: use interactive shell init for Fish

This commit is contained in:
r-vdp 2023-12-21 12:19:17 +01:00 committed by Robert Helgesson
parent 19a7843734
commit fb5ac0c870
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -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