fix(pixi): Don't trigger pixi module by .pixi directory (#6709)

This commit is contained in:
Pavel Zwerschke
2025-05-10 21:37:07 +02:00
committed by GitHub
parent a98a05f1ac
commit a477186e52
3 changed files with 4 additions and 8 deletions
+2 -6
View File
@@ -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"
+1 -1
View File
@@ -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
View File
@@ -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![],
} }
} }
} }