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
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

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
'';