2.home-manager/tests/modules/programs/fzf/ctrl-r-conflict-per-shell-disabled.nix
Austin Horstman 0396024ea5 fzf: warn on conflicting ctrl-r bindings
Detect active fzf and history-manager Ctrl-R bindings by their configured values, warn with the winning precedence, and let the normal binding options silence the warning.
2026-07-02 15:28:15 -05:00

27 lines
495 B
Nix

{ config, ... }:
{
programs = {
atuin = {
enable = true;
enableZshIntegration = true;
package = config.lib.test.mkStubPackage { name = "atuin"; };
};
fzf = {
enable = true;
enableZshIntegration = true;
historyWidget.zsh.command = "";
package = config.lib.test.mkStubPackage {
name = "fzf";
version = "0.73.0";
};
};
zsh.enable = true;
};
nmt.script = ''
assertFileExists home-files/.zshrc
'';
}