Add fzf config and integration
This commit is contained in:
parent
64f149532e
commit
cfef939e7d
24
home/env/bash.nix
vendored
24
home/env/bash.nix
vendored
|
@ -1,13 +1,17 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
programs.bash.enable = true;
|
programs = {
|
||||||
programs.readline = {
|
bash.enable = true;
|
||||||
enable = true;
|
readline = {
|
||||||
includeSystemConfig = true;
|
enable = true;
|
||||||
extraConfig = ''
|
includeSystemConfig = true;
|
||||||
set completion-ignore-case On
|
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
41
home/env/fish.nix
vendored
|
@ -1,22 +1,25 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs.fish = {
|
programs = {
|
||||||
enable = true;
|
fish = {
|
||||||
shellAbbrs = {lg = "lazygit";};
|
enable = true;
|
||||||
plugins = [
|
shellAbbrs = {lg = "lazygit";};
|
||||||
{
|
plugins = [
|
||||||
name = "tokyonight";
|
{
|
||||||
src =
|
name = "tokyonight";
|
||||||
pkgs.fetchFromGitHub {
|
src =
|
||||||
owner = "folke";
|
pkgs.fetchFromGitHub {
|
||||||
repo = "tokyonight.nvim";
|
owner = "folke";
|
||||||
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
|
repo = "tokyonight.nvim";
|
||||||
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
|
rev = "cd5156f4b4a6c4c337a46deb0c0bd37319920833";
|
||||||
}
|
sha256 = "/ht+ixR1eyYR0la00Xq5q1gCsgb5Ly90JghERwbaDPQ=";
|
||||||
+ "/extras/fish/tokyonight_night.fish";
|
}
|
||||||
}
|
+ "/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
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