Add fzf config and integration
This commit is contained in:
parent
64f149532e
commit
cfef939e7d
14
home/env/bash.nix
vendored
14
home/env/bash.nix
vendored
|
@ -1,13 +1,17 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
programs.bash.enable = true;
|
programs = {
|
||||||
programs.readline = {
|
bash.enable = true;
|
||||||
|
readline = {
|
||||||
enable = true;
|
enable = true;
|
||||||
includeSystemConfig = true;
|
includeSystemConfig = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set completion-ignore-case On
|
set completion-ignore-case On
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
programs.keychain.enableBashIntegration = true;
|
keychain.enableBashIntegration = true;
|
||||||
programs.starship.enableBashIntegration = true;
|
starship.enableBashIntegration = true;
|
||||||
programs.nix-index.enableBashIntegration = true;
|
direnv.enableBashIntegration = true;
|
||||||
|
nix-index.enableBashIntegration = true;
|
||||||
|
fzf.enableBashIntegration = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
11
home/env/fish.nix
vendored
11
home/env/fish.nix
vendored
|
@ -1,5 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.fish = {
|
programs = {
|
||||||
|
fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAbbrs = {lg = "lazygit";};
|
shellAbbrs = {lg = "lazygit";};
|
||||||
plugins = [
|
plugins = [
|
||||||
|
@ -16,7 +17,9 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
programs.keychain.enableFishIntegration = true;
|
keychain.enableFishIntegration = true;
|
||||||
programs.starship.enableFishIntegration = true;
|
starship.enableFishIntegration = true;
|
||||||
programs.nix-index.enableFishIntegration = true;
|
nix-index.enableFishIntegration = true;
|
||||||
|
fzf.enableFishIntegration = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
19
home/env/fzf.nix
vendored
Normal file
19
home/env/fzf.nix
vendored
Normal 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
1
home/env/zsh.nix
vendored
|
@ -15,5 +15,6 @@
|
||||||
starship.enableZshIntegration = true;
|
starship.enableZshIntegration = true;
|
||||||
direnv.enableZshIntegration = true;
|
direnv.enableZshIntegration = true;
|
||||||
nix-index.enableZshIntegration = true;
|
nix-index.enableZshIntegration = true;
|
||||||
|
fzf.enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue