1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +02:00

zoxide: use interactive shell init for Fish

This commit is contained in:
r-vdp 2023-12-21 17:59:24 +01:00 committed by Mikilio
parent fbba065912
commit 8b48ff169c
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -76,7 +76,7 @@ in {
eval "$(${cfg.package}/bin/zoxide init zsh ${cfgOptions})" 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 ${cfg.package}/bin/zoxide init fish ${cfgOptions} | source
''; '';