mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
fix(pixi): Don't trigger pixi module by .pixi directory (#6709)
This commit is contained in:
@@ -1479,9 +1479,7 @@
|
|||||||
"pixi.toml",
|
"pixi.toml",
|
||||||
"pixi.lock"
|
"pixi.lock"
|
||||||
],
|
],
|
||||||
"detect_folders": [
|
"detect_folders": [],
|
||||||
".pixi"
|
|
||||||
],
|
|
||||||
"disabled": false,
|
"disabled": false,
|
||||||
"format": "via [$symbol($version )(\\($environment\\) )]($style)",
|
"format": "via [$symbol($version )(\\($environment\\) )]($style)",
|
||||||
"pixi_binary": [
|
"pixi_binary": [
|
||||||
@@ -5548,9 +5546,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"detect_folders": {
|
"detect_folders": {
|
||||||
"default": [
|
"default": [],
|
||||||
".pixi"
|
|
||||||
],
|
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|||||||
@@ -3710,7 +3710,7 @@ This does not suppress pixi's own prompt modifier, you may want to run `pixi con
|
|||||||
| `pixi_binary` | `['pixi']` | Configures the pixi binary that Starship should execute when getting the version. |
|
| `pixi_binary` | `['pixi']` | Configures the pixi binary that Starship should execute when getting the version. |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['pixi.toml']` | Which filenames should trigger this module. |
|
| `detect_files` | `['pixi.toml']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `['.pixi']` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `disabled` | `false` | Disables the `pixi` module. |
|
| `disabled` | `false` | Disables the `pixi` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ impl Default for PixiConfig<'_> {
|
|||||||
disabled: false,
|
disabled: false,
|
||||||
detect_extensions: vec![],
|
detect_extensions: vec![],
|
||||||
detect_files: vec!["pixi.toml", "pixi.lock"],
|
detect_files: vec!["pixi.toml", "pixi.lock"],
|
||||||
detect_folders: vec![".pixi"],
|
detect_folders: vec![],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user