diff --git a/ProjectGenerator/bin/ihp-new b/ProjectGenerator/bin/ihp-new index 2c22d3686..710f8e43c 100755 --- a/ProjectGenerator/bin/ihp-new +++ b/ProjectGenerator/bin/ihp-new @@ -103,7 +103,7 @@ if ! [ -x "$(command -v direnv)" ]; then case "${SHELL##*/}" in zsh ) echo "Adding hook to ~/.zshrc..."; - echo 'eval "$(direnv hook bash)"' >> $HOME/.zshrc + echo 'eval "$(direnv hook zsh)"' >> $HOME/.zshrc DIRENV_HOOK_ADDED=1 ;; bash )