direnv: fix the fish source
This is needed for the latest version of direnv. See https://github.com/direnv/direnv/issues/742
This commit is contained in:
parent
3e218f2600
commit
118b36bf45
|
@ -94,7 +94,7 @@ in {
|
|||
'';
|
||||
|
||||
programs.fish.shellInit = mkIf cfg.enableFishIntegration ''
|
||||
eval (${pkgs.direnv}/bin/direnv hook fish)
|
||||
${pkgs.direnv}/bin/direnv hook fish | source
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue