There was an error while loading. Please reload this page.
1 parent 43ca942 commit 1199382Copy full SHA for 1199382
1 file changed
cookbook/direnv.md
@@ -38,9 +38,10 @@ $env.config.hooks.env_change.PWD ++= [{||
38
return
39
}
40
41
- direnv export json | from json | default {} | load-env
42
- # If direnv changes the PATH, it will become a string and we need to re-convert it to a list
43
- $env.PATH = do (env-conversions).path.from_string $env.PATH
+ direnv export json | from json | default {} | update cells --columns [ PATH ] {
+ # If direnv changes the PATH, it will become a string and we need to re-convert it to a list
+ do (env-conversions).path.from_string $in
44
+ } | load-env
45
}]
46
```
47
0 commit comments