From 4fd4b0ad74566e854e57f964185806544545b82d Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Mon, 18 Sep 2023 11:15:52 -0400 Subject: [PATCH] add zfz-tab --- modules/shell.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/shell.nix b/modules/shell.nix index f65751d..0064d04 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -13,6 +13,7 @@ (pkgs) page eza + fzf ; inherit (fetch-rs.packages.${pkgs.system}) @@ -71,7 +72,16 @@ syntaxHighlighting.enable = true; histSize = 10000; histFile = "$HOME/.cache/zsh_history"; - interactiveShellInit = '' + interactiveShellInit = let + fzf-tab = pkgs.fetchFromGitHub { + owner = "Aloxaf"; + repo = "fzf-tab"; + rev = "c2b4aa5ad2532cca91f23908ac7f00efb7ff09c9"; + hash = "sha256-gvZp8P3quOtcy1Xtt1LAW1cfZ/zCtnAmnWqcwrKel6w="; + }; + in '' + ### fzf-tab ### + source ${fzf-tab}/fzf-tab.plugin.zsh ### pager ### man () { PROGRAM="''${@[-1]}"