summaryrefslogtreecommitdiffstats
path: root/lass/2configs/zsh.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-11-20 01:21:53 +0100
committerlassulus <lassulus@lassul.us>2022-11-20 01:21:53 +0100
commit0ee566ac97846e5b67d705882dac9ad24d8db75d (patch)
treea3b4fd78ed79797c66881f283517b75032ed6f0b /lass/2configs/zsh.nix
parentdf68f9efc2c84b7507f5e1745e78bdb9e14cc851 (diff)
l zsh: add direnv
Diffstat (limited to 'lass/2configs/zsh.nix')
-rw-r--r--lass/2configs/zsh.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/lass/2configs/zsh.nix b/lass/2configs/zsh.nix
index ed00068b1..a7b0c372c 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