|
|
|
@ -193,8 +193,14 @@ $env.config = {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
direnv export json | from json | default {} | load-env
|
|
|
|
|
{{/if-installed}}
|
|
|
|
|
}]
|
|
|
|
|
{{/if-installed}}
|
|
|
|
|
}, {
|
|
|
|
|
condition: {|before, after| ("project.nu" in (overlay list)) and ($before == null or ($after not-in $before)) }
|
|
|
|
|
code: "overlay hide project.nu --keep-env [ PWD ]"
|
|
|
|
|
}, {
|
|
|
|
|
condition: {|before, after| ("./project.nu" | path exists) and ($before == null or ($after not-in $before)) },
|
|
|
|
|
code: "overlay use ./project.nu as project.nu"
|
|
|
|
|
}]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
menus: [
|
|
|
|
|