mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
fix(terraform): Improve module triggers (#3113)
Have updated which extentions trigger the terraform module, to remove the `hcl` since this gives false positives as it is used by other Hashicorp products and add the `tfstate` and `tfplan` which are more accurate indicators.
This commit is contained in:
@@ -23,7 +23,7 @@ impl<'a> Default for TerraformConfig<'a> {
|
||||
symbol: "💠 ",
|
||||
style: "bold 105",
|
||||
disabled: false,
|
||||
detect_extensions: vec!["tf", "hcl"],
|
||||
detect_extensions: vec!["tf", "tfplan", "tfstate"],
|
||||
detect_files: vec![],
|
||||
detect_folders: vec![".terraform"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user