Commit 17c9a84d73cb

Vincent Demeester <vincent@sbr.pm>
2020-01-10 18:09:47
zsh.nix: use programs.fzf.defaultOptions instead of the env var
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent ac6d717
Changed files (1)
modules
profiles
modules/profiles/zsh.nix
@@ -40,7 +40,6 @@ in
           ZSH_HIGHLIGHT_HIGHLIGHTERS = [ "main" "brackets" "pattern" ];
         };
         sessionVariables = {
-          FZF_DEFAULT_OPTS = "--bind=ctrl-j:accept";
           GOPATH = "${config.home.homeDirectory}";
         };
         shellAliases = import ./aliases.shell.nix;
@@ -136,6 +135,7 @@ in
       programs.fzf = {
         enable = true;
         enableZshIntegration = true;
+        defaultOptions = [ "--bind=ctrl-j:accept" ];
       };
     }
     (mkIf config.profiles.emacs.enable {