mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
docs(i18n): New Crowdin updates (#2219)
This commit is contained in:
@@ -209,6 +209,7 @@ $ruby\
|
||||
$rust\
|
||||
$swift\
|
||||
$terraform\
|
||||
$vagrant\
|
||||
$zig\
|
||||
$nix_shell\
|
||||
$conda\
|
||||
@@ -371,6 +372,8 @@ The character will tell you whether the last command was successful or not. It c
|
||||
|
||||
By default it only changes color. If you also want to change it's shape take a look at [this example](#with-custom-error-shape).
|
||||
|
||||
::: warning `error_symbol` is not supported on elvish shell. :::
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
@@ -2156,6 +2159,8 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
||||
|
||||
:::
|
||||
|
||||
::: warning This module is not supported on elvish shell. :::
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
@@ -2195,7 +2200,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
||||
[status]
|
||||
style = "bg:blue"
|
||||
symbol = "🔴"
|
||||
format = '[\[$symbol $status_common_meaning$status_signal_name$status_maybe_int\]]($style) '
|
||||
format = '[\[$symbol $common_meaning$signal_name$maybe_int\]]($style) '
|
||||
map_symbol = true
|
||||
disabled = false
|
||||
|
||||
@@ -2382,6 +2387,40 @@ disabled = false
|
||||
show_always = true
|
||||
```
|
||||
|
||||
## Vagrant
|
||||
|
||||
The `vagrant` module shows the currently installed version of Vagrant. The module will be shown if any of the following conditions are met:
|
||||
|
||||
- The current directory contains a `Vagrantfile` file
|
||||
|
||||
### Options
|
||||
|
||||
| Option | Default | Description |
|
||||
| ---------- | ------------------------------------ | --------------------------------------------------- |
|
||||
| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
|
||||
| `symbol` | `"⍱ "` | A format string representing the symbol of Vagrant. |
|
||||
| `style` | `"cyan bold"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `Vagrant` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| Variable | Example | Description |
|
||||
| --------- | ---------------- | ------------------------------------ |
|
||||
| version | `Vagrant 2.2.10` | The version of `Vagrant` |
|
||||
| symbol | | Mirrors the value of option `symbol` |
|
||||
| style\* | | Mirrors the value of option `style` |
|
||||
|
||||
\*: This variable can only be used as a part of a style string
|
||||
|
||||
### Example
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[vagrant]
|
||||
format = "via [⍱ $version](bold white) "
|
||||
```
|
||||
|
||||
## Zig
|
||||
|
||||
The `zig` module shows the currently installed version of Zig. The module will be shown if any of the following conditions are met:
|
||||
|
||||
Reference in New Issue
Block a user