mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 21:29:48 +01:00
nix-index: use interactive shell init for Fish
This commit is contained in:
parent
8b48ff169c
commit
18ddbc7f58
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# See https://github.com/bennofs/nix-index/issues/126
|
# See https://github.com/bennofs/nix-index/issues/126
|
||||||
programs.fish.shellInit = let
|
programs.fish.interactiveShellInit = let
|
||||||
wrapper = pkgs.writeScript "command-not-found" ''
|
wrapper = pkgs.writeScript "command-not-found" ''
|
||||||
#!${pkgs.bash}/bin/bash
|
#!${pkgs.bash}/bin/bash
|
||||||
source ${cfg.package}/etc/profile.d/command-not-found.sh
|
source ${cfg.package}/etc/profile.d/command-not-found.sh
|
||||||
|
|
Loading…
Reference in a new issue