feat(terraform): support opentofu for terraform version detection (#6910)

Support OpenTofu

This is a revitalization of https://github.com/starship/starship/pull/6072

Co-authored-by: Bojan Rajkovic <brajkovic@coderinserepeat.com>
This commit is contained in:
Joey Marianer
2025-09-06 10:14:17 -07:00
committed by GitHub
parent 95bf53f6b9
commit ef7d8bd442
4 changed files with 66 additions and 17 deletions
+10
View File
@@ -1618,6 +1618,16 @@
"symbol": "💠 ",
"style": "bold 105",
"disabled": false,
"commands": [
[
"terraform",
"version"
],
[
"tofu",
"version"
]
],
"detect_extensions": [
"tf",
"tfplan",