1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

feat(fzf): use module

This commit is contained in:
2023-06-06 20:38:56 +02:00
parent f9326b19ab
commit 7cbad0c877

View File

@@ -21,17 +21,8 @@
}; };
}; };
programs.zsh.interactiveShellInit = '' programs.fzf = {
if [[ $options[zle] = on ]]; then fuzzyCompletion = true;
. ${pkgs.fzf}/share/fzf/completion.zsh keybindings = true;
. ${pkgs.fzf}/share/fzf/key-bindings.zsh };
fi
'';
programs.bash.interactiveShellInit = ''
if [[ :$SHELLOPTS: =~ :(vi|emacs): ]]; then
. ${pkgs.fzf}/share/fzf/completion.bash
. ${pkgs.fzf}/share/fzf/key-bindings.bash
fi
'';
} }