mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat(python): add support for python_binary arguments in config (#6523)
This commit is contained in:
@@ -1459,9 +1459,15 @@
|
||||
"pyenv_prefix": "pyenv ",
|
||||
"pyenv_version_name": false,
|
||||
"python_binary": [
|
||||
"python",
|
||||
"python3",
|
||||
"python2"
|
||||
[
|
||||
"python"
|
||||
],
|
||||
[
|
||||
"python3"
|
||||
],
|
||||
[
|
||||
"python2"
|
||||
]
|
||||
],
|
||||
"style": "yellow bold",
|
||||
"symbol": "🐍 ",
|
||||
@@ -5325,13 +5331,19 @@
|
||||
},
|
||||
"python_binary": {
|
||||
"default": [
|
||||
"python",
|
||||
"python3",
|
||||
"python2"
|
||||
[
|
||||
"python"
|
||||
],
|
||||
[
|
||||
"python3"
|
||||
],
|
||||
[
|
||||
"python2"
|
||||
]
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/Either_for_String_and_Array_of_String"
|
||||
"$ref": "#/definitions/Either_for_Either_for_String_and_Array_of_String_and_Array_of_Either_for_String_and_Array_of_String"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -5400,6 +5412,19 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"Either_for_Either_for_String_and_Array_of_String_and_Array_of_Either_for_String_and_Array_of_String": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/Either_for_String_and_Array_of_String"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/Either_for_String_and_Array_of_String"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"Either_for_String_and_Array_of_String": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user