You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
direnv edit does something like that. First, you have to make sure that the EDITOR environment variable is set. Eg: export EDITOR=vim. Set that in your ~/.profile or other startup location. Then instead of using vim .envrc, use direnv edit. Once the editor exits, and IFF the file mtime has changed, it assumes that you trust the content and will automatically allow it.
After editting .envrc, I have to manually direnv allow.
While automatically allowing envrc might expose a security hole, I wonder if it is possible to automatically allow envrc ?
The text was updated successfully, but these errors were encountered: