Inspired by Vscode and wp-cli - #3 by ben.turner , I’ve written a guide on how to use direnv with Local and VS Code. It’s available at local-direnv-vscode-setup.md · GitHub
2 Likes
Thank you for sharing this @soderlind!
@Nick-B I would appreciate it if Local added an .envrc by itself.
Local does now add a direnv file (.envrc) by default since Local 10.1.1.
You can also optionally disable direnv support from Advanced Preferences (since Local 10.1.2).
2 Likes