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;