digitallyinduced / ihp

🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
https://ihp.digitallyinduced.com/
MIT License
4.93k stars 195 forks source link

Direnv shell hook doesn't seem correct. .zprofile vs .zshrc #1303

Open francisdb opened 2 years ago

francisdb commented 2 years ago

Strange that this complains about .zprofile and then talks about .zshrc

➜  ihp-github-actions git:(main) nix-env -f https://downloads.digitallyinduced.com/ihp-new.tar.gz -i ihp-new
...
➜  ihp-github-actions git:(main) ihp-new blog

grep: /Users/francisdb/.zprofile: No such file or directory
Direnv shell hook doesn't seem correct.
Direnv needs to be hooked into your shell. Please follow the steps below:
Bash: Add eval "$(direnv hook bash)" to ~/.bashrc
ZSH: Add eval "$(direnv hook zsh)" to ~/.zshrc
➜  ihp-github-actions git:(main) ✗ cat ~/.zshrc | grep direnv
eval "$(direnv hook zsh)"
mpscholten commented 2 years ago

This bug has been introduced via https://github.com/digitallyinduced/ihp/commit/43013ba245d96b8f6cb723c69b936b5cb810e855#diff-a8225e1a10ef4dca381a9d1dba91a349c3fefaa6e6be0f9f582806d9d477162d