os/modules/terminal-life/fzf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
627 B
Nix
Raw Normal View History

2021-05-30 19:10:28 +00:00
{
2022-11-20 22:28:23 +00:00
config,
pkgs,
flake,
2022-11-20 22:28:23 +00:00
...
}: {
2021-05-30 19:10:28 +00:00
enable = true;
defaultCommand = "fd --hidden --type f --exclude .git";
defaultOptions = with flake.self.theme.withHashtag; [
"--color=bg+:${base01},bg:${base00},spinner:${base0C},hl:${base0D}"
"--color=fg:${base04},header:${base0D},info:${base0A},pointer:${base0C}"
"--color=marker:${base0C},fg+:${base02},prompt:${base0A},hl+:${base0D}"
2021-05-30 19:10:28 +00:00
];
# Use ble.sh for completions, see
# modules/terminal-life/bash/default.nix -> bleopt complete_menu_style=desc
# and https://github.com/akinomyoga/ble.sh/wiki/Manual-%C2%A77-Completion
enableBashIntegration = false;
2021-05-30 19:10:28 +00:00
}