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.
27 lines
495 B
Nix
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
|
|
'';
|
|
}
|