mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
fix(direnv): update to work with direnv v2.33 (#5657)
* update AllowStatus to work with direnv 2.33 direnv now returns int enum instead of boolean, https://github.com/direnv/direnv/pull/1158 * update schema * maybe fixed the schema now * Whoops, I inverted the flags somehow * have coffee, fix mistaken understanding * undo changes to tranlations * Update docs/config/README.md * Update src/modules/direnv.rs Co-authored-by: David Knaack <davidkna@users.noreply.github.com> * update test output --------- Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
@@ -366,6 +366,7 @@
|
||||
"disabled": true,
|
||||
"format": "[$symbol$loaded/$allowed]($style) ",
|
||||
"loaded_msg": "loaded",
|
||||
"not_allowed_msg": "not allowed",
|
||||
"style": "bold orange",
|
||||
"symbol": "direnv ",
|
||||
"unloaded_msg": "not loaded"
|
||||
@@ -2775,6 +2776,10 @@
|
||||
"default": "allowed",
|
||||
"type": "string"
|
||||
},
|
||||
"not_allowed_msg": {
|
||||
"default": "not allowed",
|
||||
"type": "string"
|
||||
},
|
||||
"denied_msg": {
|
||||
"default": "denied",
|
||||
"type": "string"
|
||||
|
||||
Reference in New Issue
Block a user