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