From 727c6ae6168fdd8f8c9663e5a047e945070a9cc0 Mon Sep 17 00:00:00 2001 From: tdpeuter Date: Fri, 29 Sep 2023 08:21:05 +0200 Subject: [PATCH] [zsh] Add fzf --- nixos/modules/shells/zsh/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nixos/modules/shells/zsh/default.nix b/nixos/modules/shells/zsh/default.nix index 0d84ea8..6b69e7e 100644 --- a/nixos/modules/shells/zsh/default.nix +++ b/nixos/modules/shells/zsh/default.nix @@ -8,6 +8,7 @@ home = { packages = with pkgs; [ font-awesome + fzf ]; file = { @@ -25,6 +26,12 @@ }; initExtra = '' eval "$(direnv hook zsh)" + + # Add fzf + if [ -x "$(command -v fzf-share)" ]; then + source "$(fzf-share)/key-bindings.zsh" + source "$(fzf-share)/completion.zsh" + fi ''; oh-my-zsh = { enable = true;