From 0ee566ac97846e5b67d705882dac9ad24d8db75d Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 20 Nov 2022 01:21:53 +0100 Subject: l zsh: add direnv --- lass/2configs/zsh.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lass/2configs/zsh.nix') diff --git a/lass/2configs/zsh.nix b/lass/2configs/zsh.nix index ed00068b..a7b0c372 100644 --- a/lass/2configs/zsh.nix +++ b/lass/2configs/zsh.nix @@ -65,6 +65,9 @@ bindkey "[8~" end-of-line bindkey "Oc" emacs-forward-word bindkey "Od" emacs-backward-word + + # direnv integration + eval "$(${pkgs.direnv}/bin/direnv hook zsh)" ''; promptInit = '' autoload -U promptinit -- cgit v1.2.3