Skip to content

Commit

Permalink
fix zsh config in ihp-new
Browse files Browse the repository at this point in the history
 ## Why is the change being made?

 this was misconfiguring direnv for zsh shells previously
  • Loading branch information
Geoff Langenderfer committed Dec 11, 2022
1 parent 446f4eb commit 5ff5640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProjectGenerator/bin/ihp-new
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 5ff5640

Please sign in to comment.