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:
@@ -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
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user