commit 17c9a84d73cba82e1180b271224574effa1d3c2a
parent ac6d717d12174893ece9220fd1d993d09a447d80
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 10 Jan 2020 18:09:47 +0100
zsh.nix: use programs.fzf.defaultOptions instead of the env var
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/profiles/zsh.nix b/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 {