home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ac6d717d12174893ece9220fd1d993d09a447d80
parent 00b238f2e268bab2d306ca1e5bd3d852243dbcb7
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 10 Jan 2020 18:03:11 +0100

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>

Diffstat:
Mmodules/profiles/zsh.nix | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/profiles/zsh.nix b/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;