configs/home/.zsh-distrobox/themes/spaceship-prompt/docs/sections/terraform.md

22 lines
1.3 KiB
Markdown
Raw Normal View History

2023-06-16 22:58:47 +02:00
# Terraform (`terraform`)
!!! important "This section is rendered asynchronously by default"
!!! info
[**Terraform**](https://www.terraform.io) is a tool for building, changing, and combining infrastructure safely and efficiently.
The `terraform` section shows Terraform virtual environment.
This section is only displayed when you have a `terraform` command available in your path and upsearch finds a `.terraform/environment` file.
## Options
| Variable | Default | Meaning |
| :--------------------------- | :--------------------------------: | ----------------------------------- |
| `SPACESHIP_TERRAFORM_SHOW` | `true` | Show section |
| `SPACESHIP_TERRAFORM_ASYNC` | `true` | Render section asynchronously |
| `SPACESHIP_TERRAFORM_PREFIX` | `$SPACESHIP_PROMPT_DEFAULT_PREFIX` | Section's prefix |
| `SPACESHIP_TERRAFORM_SUFFIX` | `$SPACESHIP_PROMPT_DEFAULT_SUFFIX` | Section's suffix |
| `SPACESHIP_TERRAFORM_SYMBOL` | `🛠️·` | Symbol displayed before the section |
| `SPACESHIP_TERRAFORM_COLOR` | `105` | Section's color |