We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde4cba commit b6e9dd3Copy full SHA for b6e9dd3
book/hooks.md
@@ -226,7 +226,7 @@ $env.config = ($env.config | upsert hooks.env_change.PWD {
226
{
227
condition: {|before, after|
228
('/path/to/target/dir' not-in $after
229
- and '/path/to/target/dir' in $before
+ and '/path/to/target/dir' in ($before | default "")
230
and 'test-env' in (overlay list))
231
}
232
code: "overlay hide test-env --keep-env [ PWD ]"
0 commit comments