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

24
home/env/bash.nix vendored
View file

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

41
home/env/fish.nix vendored
View file

@ -1,22 +1,25 @@
{pkgs, ...}: {
programs.fish = {
enable = true;
shellAbbrs = {lg = "lazygit";};
plugins = [
{
name = "tokyonight";
src =
pkgs.fetchFromGitHub {
owner = "folke";
repo = "tokyonight.nvim";
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
}
+ "/extras/fish/tokyonight_night.fish";
}
];
programs = {
fish = {
enable = true;
shellAbbrs = {lg = "lazygit";};
plugins = [
{
name = "tokyonight";
src =
pkgs.fetchFromGitHub {
owner = "folke";
repo = "tokyonight.nvim";
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
}
+ "/extras/fish/tokyonight_night.fish";
}
];
};
keychain.enableFishIntegration = true;
starship.enableFishIntegration = true;
nix-index.enableFishIntegration = true;
fzf.enableFishIntegration = true;
};
programs.keychain.enableFishIntegration = true;
programs.starship.enableFishIntegration = true;
programs.nix-index.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;
};
}