1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00

correct fish/zsh flip

This commit is contained in:
Michael Cooper 2025-03-20 11:36:10 -07:00 committed by GitHub
parent 160875183f
commit 7067da8a31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,17 +23,17 @@ let
fishIntegration = ''
${getExe pkgs.mcfly} init fish | source
'' + optionalString cfg.fzf.enable ''
if [[ -o interactive ]]; then
${getExe pkgs.mcfly-fzf} init fish | source
fi
if status is-interactive
eval "$(${getExe pkgs.mcfly-fzf} init zsh)"
end
'';
zshIntegration = ''
eval "$(${getExe pkgs.mcfly} init zsh)"
'' + optionalString cfg.fzf.enable ''
if status is-interactive
eval "$(${getExe pkgs.mcfly-fzf} init zsh)"
end
if [[ -o interactive ]]; then
${getExe pkgs.mcfly-fzf} init fish | source
fi
'';
in {