mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat(direnv): allow direnv to detect environment variables (#6196)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user