Add fzf config and integration

This commit is contained in:
Evie Litherland-Smith 2023-07-10 20:58:41 +01:00
parent 64f149532e
commit cfef939e7d
4 changed files with 56 additions and 29 deletions

14
home/env/bash.nix vendored
View file

@ -1,13 +1,17 @@
{...}: {
programs.bash.enable = true;
programs.readline = {
programs = {
bash.enable = true;
readline = {
enable = true;
includeSystemConfig = true;
extraConfig = ''
set completion-ignore-case On
'';
};
programs.keychain.enableBashIntegration = true;
programs.starship.enableBashIntegration = true;
programs.nix-index.enableBashIntegration = true;
keychain.enableBashIntegration = true;
starship.enableBashIntegration = true;
direnv.enableBashIntegration = true;
nix-index.enableBashIntegration = true;
fzf.enableBashIntegration = true;
};
}

11
home/env/fish.nix vendored
View file

@ -1,5 +1,6 @@
{pkgs, ...}: {
programs.fish = {
programs = {
fish = {
enable = true;
shellAbbrs = {lg = "lazygit";};
plugins = [
@ -16,7 +17,9 @@
}
];
};
programs.keychain.enableFishIntegration = true;
programs.starship.enableFishIntegration = true;
programs.nix-index.enableFishIntegration = true;
keychain.enableFishIntegration = true;
starship.enableFishIntegration = true;
nix-index.enableFishIntegration = true;
fzf.enableFishIntegration = true;
};
}

19
home/env/fzf.nix vendored Normal file
View file

@ -0,0 +1,19 @@
{...}: {
programs.fzf = {
enable = true;
colors = {
fg = "-1";
bg = "-1";
hl = "#c678dd";
"fg+" = "#ffffff";
"bg+" = "#4b5263";
"hl+" = "#d858fe";
info = "#98c379";
prompt = "#61afef";
pointer = "#be5046";
marker = "#e5c07b";
spinner = "#61afef";
header = "#61afef";
};
};
}

1
home/env/zsh.nix vendored
View file

@ -15,5 +15,6 @@
starship.enableZshIntegration = true;
direnv.enableZshIntegration = true;
nix-index.enableZshIntegration = true;
fzf.enableZshIntegration = true;
};
}