From bc35f0b8f00a3c09dfb9dccdf41667f81fc37bff Mon Sep 17 00:00:00 2001 From: zachmandeville Date: Fri, 7 Jul 2023 14:02:57 +1200 Subject: [PATCH] add home dir whitelist by default, when direnv enters a directory that has a .envrc, it asks to run direnv allow. Similarly, if you make any changes to that .envrc, you need to run direnv allow to run these changes. By adding the homedir to the direnv whitelist, we say that any envrc it encounters in the dir and any child dirs it will allow automatically. We want to show how you can clone a repo and cd into it with all the stuff already built. This helps remove some of the manual steps to better demonstrate this. We may find that this is tooo automatic though. --- iipod/build/home/.config/direnv/direnv.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 iipod/build/home/.config/direnv/direnv.toml diff --git a/iipod/build/home/.config/direnv/direnv.toml b/iipod/build/home/.config/direnv/direnv.toml new file mode 100644 index 0000000..32b553b --- /dev/null +++ b/iipod/build/home/.config/direnv/direnv.toml @@ -0,0 +1,2 @@ +[whitelist] +prefix = ["/home/ii"]