From 2ff22c847787263e10a37e05fa4142bd760cc5aa Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Wed, 13 Nov 2019 09:30:29 +1000 Subject: [PATCH] Added direnv --- roles/host_common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/host_common.nix b/roles/host_common.nix index 31589b5..b1fbdc9 100644 --- a/roles/host_common.nix +++ b/roles/host_common.nix @@ -36,6 +36,7 @@ git # Distributed version control system powerline-fonts # For zsh themes lsof # list open files + direnv # A shell extension that manages your environment ( import ../Deployments/vim.nix ) @@ -48,6 +49,9 @@ autosuggestions = { enable = true; }; + interactiveShellInit = '' + eval "$(direnv hook zsh)" + ''; # List of strings concatenated with "\n" #loginShellInit = '' # _byobu_sourced=1 . byobu 2>/dev/null || true