feat(direnv): allow direnv to detect environment variables (#6196)

This commit is contained in:
Nick Conway
2024-12-27 05:25:15 -05:00
committed by GitHub
parent 7ead2b55eb
commit 45937166c8
4 changed files with 71 additions and 20 deletions
+12
View File
@@ -359,6 +359,9 @@
"default": {
"allowed_msg": "allowed",
"denied_msg": "denied",
"detect_env_vars": [
"DIRENV_FILE"
],
"detect_extensions": [],
"detect_files": [
".envrc"
@@ -2868,6 +2871,15 @@
"type": "string"
}
},
"detect_env_vars": {
"default": [
"DIRENV_FILE"
],
"type": "array",
"items": {
"type": "string"
}
},
"detect_files": {
"default": [
".envrc"