# Zig (`zig`)

!!! important "This section is rendered asynchronously by default"

!!! info
    [**Zig**](https://www.ziglang.org/) is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.

The `zig` section shows Zig version.

This section is only displayed when you have a `zig` command available and:

* Upsearch finds a `build.zig` file
* Contains any other file with `.zig` extension

## Options

| Variable               |              Default               | Meaning                              |
| :--------------------- | :--------------------------------: | ------------------------------------ |
| `SPACESHIP_ZIG_SHOW`   |               `true`               | Show current section                 |
| `SPACESHIP_ZIG_PREFIX` | `$SPACESHIP_PROMPT_DEFAULT_PREFIX` | Prefix before section                |
| `SPACESHIP_ZIG_SUFFIX` | `$SPACESHIP_PROMPT_DEFAULT_SUFFIX` | Suffix after section                 |
| `SPACESHIP_ZIG_SYMBOL` |               `⚡ `                | Character to be shown before version |
| `SPACESHIP_ZIG_COLOR`  |             `yellow`               | Color of section                     |
