zoxide: use interactive shell init for Fish

This commit is contained in:
r-vdp
2023-12-21 17:59:24 +01:00
committed by Robert Helgesson
parent 8b797c8eea
commit 19a7843734

View File

@@ -76,7 +76,7 @@ in {
eval "$(${cfg.package}/bin/zoxide init zsh ${cfgOptions})"
'';
programs.fish.shellInit = mkIf cfg.enableFishIntegration ''
programs.fish.interactiveShellInit = mkIf cfg.enableFishIntegration ''
${cfg.package}/bin/zoxide init fish ${cfgOptions} | source
'';