Commit ac6d717d1217

Vincent Demeester <vincent@sbr.pm>
2020-01-10 18:03:11
zsh.nix: add FZF_DEFAULT_OPTS to sessionVariables…
… with GOPATH. FZF_DEFAULT_OPTS is useful here for being able to use fzf inside emacs-vterm. Those two variables should probably move to home.sessionVariables though (in separate files). Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 00b238f
Changed files (1)
modules
profiles
modules/profiles/zsh.nix
@@ -38,6 +38,9 @@ in
           EMOJI_CLI_KEYBIND = "^n";
           EMOJI_CLI_USE_EMOJI = "yes";
           ZSH_HIGHLIGHT_HIGHLIGHTERS = [ "main" "brackets" "pattern" ];
+        };
+        sessionVariables = {
+          FZF_DEFAULT_OPTS = "--bind=ctrl-j:accept";
           GOPATH = "${config.home.homeDirectory}";
         };
         shellAliases = import ./aliases.shell.nix;