1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

fzf: prefer source for Zsh integration (#7191)

fzf version 0.53.0 [1] and later now prefers using `source` for its Zsh
integration.

[1] 030428ba43
This commit is contained in:
Kenichi Kamiya 2025-06-03 13:30:27 +09:00 committed by GitHub
parent 5adc1a51a2
commit cb809ec1ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ let
if hasShellIntegrationEmbedded then
''
if [[ $options[zle] = on ]]; then
eval "$(${getExe cfg.package} --zsh)"
source <(${getExe cfg.package} --zsh)
fi
''
else