Y
Hacker News
new
|
ask
|
show
|
jobs
by
noja
638 days ago
what if you forget to run direnv the second time?
2 comments
Gooblebrai
638 days ago
You don't have to run anything. The point of direnv is that loads/unloads automatically when your enter/leave a directory
link
ijustlovemath
638 days ago
I imagine they use an alias or bash function for cd, which uses direnv under the hood
link
physicles
637 days ago
Yep. Direnv inserts itself into your prompt function.
link