mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
docs(i18n): New Crowdin updates (#2219)
This commit is contained in:
@@ -110,3 +110,16 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
|
||||
|
||||
eval $(starship init ion)
|
||||
```
|
||||
|
||||
#### Elvish
|
||||
|
||||
::: warning Only elvish v0.15 or higher is supported. :::
|
||||
|
||||
Add the following to the end of `~/.elvish/rc.elv`:
|
||||
|
||||
```sh
|
||||
# ~/.elvish/rc.elv
|
||||
|
||||
eval (starship init elvish)
|
||||
```
|
||||
|
||||
|
||||
@@ -209,6 +209,7 @@ $ruby\
|
||||
$rust\
|
||||
$swift\
|
||||
$terraform\
|
||||
$vagrant\
|
||||
$zig\
|
||||
$nix_shell\
|
||||
$conda\
|
||||
@@ -371,6 +372,8 @@ style = "bold yellow"
|
||||
|
||||
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. :::
|
||||
|
||||
### 選項
|
||||
|
||||
| Option | 預設 | 說明 |
|
||||
@@ -1601,7 +1604,7 @@ truncation_symbol = ""
|
||||
|
||||
The `nim` module shows the currently installed version of Nim. 這個模組在下列其中一個條件達成時顯示:
|
||||
|
||||
- The current directory contains a `nim.cfg` file
|
||||
- 現在資料夾中包含一個 `nim.cfg` 檔案
|
||||
- The current directory contains a file with the `.nim` extension
|
||||
- The current directory contains a file with the `.nims` extension
|
||||
- The current directory contains a file with the `.nimble` extension
|
||||
@@ -1872,7 +1875,7 @@ format = "via [🦪 $version]($style) "
|
||||
|
||||
The `php` module shows the currently installed version of PHP. 這個模組在下列其中一個條件達成時顯示:
|
||||
|
||||
- The current directory contains a `composer.json` file
|
||||
- 現在資料夾中包含一個 `composer.json` 檔案
|
||||
- The current directory contains a `.php-version` file
|
||||
- The current directory contains a `.php` file
|
||||
|
||||
@@ -1908,7 +1911,7 @@ format = "via [🔹 $version](147 bold) "
|
||||
|
||||
The `purescript` module shows the currently installed version of PureScript version. 這個模組在下列其中一個條件達成時顯示:
|
||||
|
||||
- The current directory contains a `spago.dhall` file
|
||||
- 現在資料夾中包含一個 `spago.dhall` 檔案
|
||||
- The current directory contains a \*.purs files
|
||||
|
||||
### 選項
|
||||
@@ -2156,6 +2159,8 @@ The `status` module displays the exit code of the previous command. The module w
|
||||
|
||||
:::
|
||||
|
||||
::: warning This module is not supported on elvish shell. :::
|
||||
|
||||
### 選項
|
||||
|
||||
| Option | 預設 | 說明 |
|
||||
@@ -2195,7 +2200,7 @@ The `status` module displays the exit code of the previous command. The module w
|
||||
[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 current directory contains a `Vagrantfile` file
|
||||
|
||||
### 選項
|
||||
|
||||
| Option | 預設 | 說明 |
|
||||
| ---------- | ------------------------------------ | --------------------------------------------------- |
|
||||
| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
|
||||
| `symbol` | `"⍱ "` | A format string representing the symbol of Vagrant. |
|
||||
| `style` | `"cyan bold"` | 這個模組的風格。 |
|
||||
| `disabled` | `false` | Disables the `Vagrant` module. |
|
||||
|
||||
### Variables
|
||||
|
||||
| 變數 | 範例 | 說明 |
|
||||
| --------- | ---------------- | ------------------------------------ |
|
||||
| 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
|
||||
|
||||
### 範例
|
||||
|
||||
```toml
|
||||
# ~/.config/starship.toml
|
||||
|
||||
[vagrant]
|
||||
format = "via [⍱ $version](bold white) "
|
||||
```
|
||||
|
||||
## Zig
|
||||
|
||||
The `zig` module shows the currently installed version of Zig. 這個模組在下列其中一個條件達成時顯示:
|
||||
|
||||
@@ -92,6 +92,13 @@
|
||||
height="20"
|
||||
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-fr.png"
|
||||
alt="Français" /></a>
|
||||
|
||||
<a
|
||||
href="https://github.com/starship/starship/blob/master/docs/vi-VN/guide/README.md"
|
||||
><img
|
||||
height="20"
|
||||
src="https://raw.githubusercontent.com/starship/starship/master/media/flag-vn.png"
|
||||
alt="Tiếng Việt" /></a>
|
||||
</p>
|
||||
|
||||
<h1></h1>
|
||||
@@ -211,6 +218,17 @@
|
||||
eval $(starship init ion)
|
||||
```
|
||||
|
||||
|
||||
#### Elvish
|
||||
|
||||
**Warning** Only elvish v0.15 or higher is supported. Add the following to the end of `~/.elvish/rc.elv`:
|
||||
|
||||
```sh
|
||||
# ~/.elvish/rc.elv
|
||||
|
||||
eval (starship init elvish)
|
||||
```
|
||||
|
||||
## 🤝 貢獻
|
||||
|
||||
我們歡迎具有**各式各樣能力**的貢獻者! 如果你正在尋找容易加入的方法,試試看標註為「[good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue)」的 issue。
|
||||
|
||||
Reference in New Issue
Block a user