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

fzf: fix zsh integration (keybinds rewritten by omz) (#6712)

fzf history keybind (^R) was being rewritten by omz.
This PR moves the initialization of the fzf zsh integration just after omz integration (but sill before other history managers, eg: atuin)
This commit is contained in:
Clément B 2025-03-27 14:40:07 +01:00 committed by GitHub
parent 693840c01b
commit 171915bfce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,8 +195,10 @@ in {
# Note, since fzf unconditionally binds C-r we use `mkOrder` to make the
# initialization show up a bit earlier. This is to make initialization of
# other history managers, like mcfly or atuin, take precedence.
# Still needs to be initialized after oh-my-zsh (order 800), otherwise
# omz will take precedence.
programs.zsh.initContent =
mkIf cfg.enableZshIntegration (mkOrder 200 zshIntegration);
mkIf cfg.enableZshIntegration (mkOrder 810 zshIntegration);
programs.fish.interactiveShellInit =
mkIf cfg.enableFishIntegration (mkOrder 200 fishIntegration);