File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,9 @@ a locally-generated artifact and be generated entirely by user tooling. At Shopi
39
39
40
40
This is not the only valid way to go though, you may get some mileage out of committing the files.
41
41
Let us know what you do!
42
+
43
+ ## Propmt Widget
44
+
45
+ You may find it helpful to have a visual indicator in your terminal that a
46
+ Shadowenv is active. You can embed ` $(shadowenv prompt-widget) ` in your ` PS1 ` or
47
+ ` PROMPT ` , etc., to achieve this.
Original file line number Diff line number Diff line change @@ -132,3 +132,16 @@ shadowenv exec -- nginx -g 'daemon off;'
132
132
133
133
In this case, we didn't need to load the Shadowenv shell hook, as ` shadowenv exec ` loaded the
134
134
environments before executing nginx.
135
+
136
+ # Nested Shadowenvs
137
+
138
+ Shadowenv supports nested environments. In order for a shadowenv to inherit from
139
+ another shadowenv further up the path, create a symlink at
140
+ ` .shadowenv.d/parent ` to the higher ` .shadowenv.d ` . For example:
141
+
142
+ ```
143
+ ln -s /a/.shadowenv.d /a/b/c/.shadowenv.d/parent
144
+ ```
145
+
146
+ When this is done, shadowlisp files in ` a ` will be evaluated before those in
147
+ ` c ` .
You can’t perform that action at this time.
0 commit comments