Adds fish fzf plugin

This commit is contained in:
Abhinav Sarkar 2022-09-26 19:12:33 +05:30
parent ba300a76e0
commit 45fb7389fe

View File

@ -68,6 +68,7 @@
j = "just"; j = "just";
g = "git"; g = "git";
l = "bat"; l = "bat";
m = "micro";
}; };
plugins = [ plugins = [
@ -89,9 +90,19 @@
sha256 = "16k94hz3s6wayass6g1lhlcjmbpf2w8mzx90qrrqp120h80xwp25"; sha256 = "16k94hz3s6wayass6g1lhlcjmbpf2w8mzx90qrrqp120h80xwp25";
}; };
} }
{
name = "fzf";
src = pkgs.fetchFromGitHub {
owner = "PatrickF1";
repo = "fzf.fish";
rev = "2bb6f712b0b99fc5cc40ca78b6b3ba8b2529b0f7";
hash = "sha256-XmRGe39O3xXmTvfawwT2mCwLIyXOlQm7f40mH5tzz+s=";
};
}
]; ];
interactiveShellInit = '' interactiveShellInit = ''
set EDITOR micro set EDITOR micro
fzf_configure_bindings --git_status=\cs --history=\cr --variables=\cv --directory=\cf --git_log=\cg
''; '';
shellInit = '' shellInit = ''
@ -143,13 +154,13 @@
# Packages to install # Packages to install
home.packages = with pkgs; [ home.packages = with pkgs; [
# pkgs is the set of all packages in the default home.nix implementation
cloc cloc
cloudflare-dyndns cloudflare-dyndns
config.nix.package config.nix.package
coreutils coreutils
delta delta
entr entr
fd
gitui gitui
graphviz-nox graphviz-nox
haskellPackages.cabal-plan haskellPackages.cabal-plan