mirror of
https://github.com/starship/starship.git
synced 2024-11-22 16:23:17 +01:00
docs(i18n): new Crowdin updates (#4284)
* New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Spanish) * New translations README.md (Portuguese) * New translations README.md (Indonesian) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Vietnamese) * New translations README.md (Chinese Traditional) * New translations README.md (Chinese Simplified) * New translations README.md (Turkish) * New translations README.md (Russian) * New translations README.md (Polish) * New translations README.md (French) * New translations README.md (Dutch) * New translations README.md (Korean) * New translations README.md (Japanese) * New translations README.md (Japanese) * New translations README.md (Italian) * New translations README.md (German) * New translations README.md (Arabic) * New translations README.md (Sorani (Kurdish)) * New translations README.md (Spanish) * New translations README.md (Spanish) * New translations README.md (Japanese) * New translations README.md (French) * New translations README.md (Russian) * New translations README.md (Chinese Simplified) * New translations README.md (Vietnamese) * New translations README.md (Portuguese, Brazilian) * New translations README.md (Chinese Simplified) * New translations README.md (Chinese Simplified)
This commit is contained in:
parent
cfe781de08
commit
112d723877
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | The style for the module. |
|
| `style` | `"bold green"` | The style for the module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | The style for the module. |
|
| `style` | `"bold green"` | The style for the module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Das Format für das Modul. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | Das Format für das Modul. |
|
||||||
| `style` | `"bold green"` | Stil für dieses Modul. |
|
| `style` | `"bold green"` | Stil für dieses Modul. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -146,11 +146,11 @@ format = '''
|
|||||||
|
|
||||||
### Coincidencia negativa
|
### Coincidencia negativa
|
||||||
|
|
||||||
Many modules have `detect_extensions`, `detect_files`, and `detect_folders` variables. These take lists of strings to match or not match. "Negative" options, those which should not be matched, are indicated with a leading "!" character. The presence of _any_ negative indicator in the directory will result in the module not being matched.
|
Varios módulos tienen variables `detect_extensions`, `detect_files`y `detect_folders`. Estas toman listas de cadenas de texto para que coincidan o no coincidan. Las opciones "negativas", aquellas que no deben coincidir, están indicadas con un carácter "!" al inicio. La presencia de _cualquier_ indicador negativo en el directorio hará que el módulo no coincida.
|
||||||
|
|
||||||
Extensions are matched against both the characters after the last dot in a filename, and the characters after the first dot in a filename. For example, `foo.bar.tar.gz` will be matched against `bar.tar.gz` and `gz` in the `detect_extensions` variable. Files whose name begins with a dot are not considered to have extensions at all.
|
Las extensiones coinciden tanto con los caracteres después del último punto en un nombre de archivo, como con los caracteres después del primer punto en un nombre de archivo. Por ejemplo, `foo.bar.tar.gz` será emparejado contra `bar.tar.gz` y `gz` en la variable `detect_extensions`. Los archivos cuyo nombre comienza con un punto no se consideran extensiones en absoluto.
|
||||||
|
|
||||||
To see how this works in practice, you could match TypeScript but not MPEG Transport Stream files thus:
|
Para ver cómo funciona esto en la práctica, puede hacer coincidir con archivos TypeScript, pero no con archivos MPEG Transport Stream, así:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
detect_extensions = ["ts", "!video.ts", "!audio.ts"]
|
detect_extensions = ["ts", "!video.ts", "!audio.ts"]
|
||||||
@ -195,7 +195,7 @@ El `format` predeterminado se utiliza para definir el formato del prompt, si est
|
|||||||
```toml
|
```toml
|
||||||
format = "$all"
|
format = "$all"
|
||||||
|
|
||||||
# Which is equivalent to
|
# Lo cual es equivalente a:
|
||||||
format = """
|
format = """
|
||||||
$username\
|
$username\
|
||||||
$hostname\
|
$hostname\
|
||||||
@ -282,7 +282,7 @@ format="$all$directory$character"
|
|||||||
|
|
||||||
## AWS
|
## AWS
|
||||||
|
|
||||||
The `aws` module shows the current AWS region and profile and an expiration timer when using temporary credentials. The output of the module uses the `AWS_REGION`, `AWS_DEFAULT_REGION`, and `AWS_PROFILE` env vars and the `~/.aws/config` and `~/.aws/credentials` files as required.
|
El módulo `aws` muestra la región y el perfil actual de AWS y un temporizador de vencimiento cuando se utilizan credenciales temporales. La salida del módulo utiliza las variables de entorno `AWS_REGION`, `AWS_DEFAULT_REGION` y `AWS_PROFILE`, y los archivos `~/. ws/config` y `~/.aws/credenciales` según sea necesario.
|
||||||
|
|
||||||
The module will display a profile only if its credentials are present in `~/.aws/credentials` or if a `credential_process` or `sso_start_url` are defined in `~/.aws/config`. Alternatively, having any of the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, or `AWS_SESSION_TOKEN` env vars defined will also suffice. If the option `force_display` is set to `true`, all available information will be displayed even if no credentials per the conditions above are detected.
|
The module will display a profile only if its credentials are present in `~/.aws/credentials` or if a `credential_process` or `sso_start_url` are defined in `~/.aws/config`. Alternatively, having any of the `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, or `AWS_SESSION_TOKEN` env vars defined will also suffice. If the option `force_display` is set to `true`, all available information will be displayed even if no credentials per the conditions above are detected.
|
||||||
|
|
||||||
@ -1480,15 +1480,16 @@ El módulo `git_commit` muestra el hash de la confirmación actual y también la
|
|||||||
|
|
||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
| Opción | Predeterminado | Descripción |
|
| Opción | Predeterminado | Descripción |
|
||||||
| -------------------- | ---------------------------------- | -------------------------------------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | La longitud del hash del commit de git mostrado. |
|
| `commit_hash_length` | `7` | La longitud del hash del commit de git mostrado. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | El formato del módulo. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | El formato del módulo. |
|
||||||
| `style` | `"bold green"` | El estilo del módulo. |
|
| `style` | `"bold green"` | El estilo del módulo. |
|
||||||
| `only_detached` | `true` | Mostrar solo el hash de la confirmación de git cuando esté en estado "detached `HEAD`" |
|
| `only_detached` | `true` | Mostrar solo el hash de la confirmación de git cuando esté en estado "detached `HEAD`" |
|
||||||
| `tag_disabled` | `true` | Deshabilita mostrar información de etiquetas en el módulo `git_commit`. |
|
| `tag_disabled` | `true` | Deshabilita mostrar información de etiquetas en el módulo `git_commit`. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Símbolo de etiqueta prefijando la información mostrada |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. El valor por defecto sólo permite coincidencias exactas. |
|
||||||
| `disabled` | `false` | Desactiva el módulo `git_commit`. |
|
| `tag_symbol` | `" 🏷 "` | Símbolo de etiqueta prefijando la información mostrada |
|
||||||
|
| `disabled` | `false` | Deshabilita el módulo `git_commit`. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ Le module `git_commit` affiche le hash du commit actuel ainsi que le tag (le cas
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| -------------------- | ---------------------------------- | -------------------------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | La longueur du hash affiché du commit git. |
|
| `commit_hash_length` | `7` | La longueur du hash affiché du commit git. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Format du module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | Format du module. |
|
||||||
| `style` | `"bold green"` | Le style du module. |
|
| `style` | `"bold green"` | Le style du module. |
|
||||||
| `only_detached` | `true` | Ne montrer le hash du commit qu'en mode `HEAD` détachée. |
|
| `only_detached` | `true` | Ne montrer le hash du commit qu'en mode `HEAD` détachée. |
|
||||||
| `tag_disabled` | `true` | Désactive l'affichage des informations du tag dans le module `git_commit`. |
|
| `tag_disabled` | `true` | Désactive l'affichage des informations du tag dans le module `git_commit`. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Symbole préfixant les informations affichées concernant le tag |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Désactive le module `git_commit`. |
|
| `tag_symbol` | `" 🏷 "` | Symbole préfixant les informations affichées concernant le tag |
|
||||||
|
| `disabled` | `false` | Désactive le module `git_commit`. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `fromat` | `"[\\($hash$tag\\)]($style) "` | Format dari modul. |
|
| `fromat` | `"[\\($hash$tag\\)]($style) "` | Format dari modul. |
|
||||||
| `style` | `"bold green"` | Gaya penataan untuk modul. |
|
| `style` | `"bold green"` | Gaya penataan untuk modul. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variabel
|
### Variabel
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Opzioni
|
### Opzioni
|
||||||
|
|
||||||
| Opzione | Default | Descrizione |
|
| Opzione | Default | Descrizione |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | Lo stile per il modulo. |
|
| `style` | `"bold green"` | Lo stile per il modulo. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ description: Starship はミニマルで、非常に高速で、カスタマイ
|
|||||||
|
|
||||||
#### Nushell
|
#### Nushell
|
||||||
|
|
||||||
::: 警告
|
::: warning
|
||||||
|
|
||||||
これは将来的に変更される可能性があります。 Nushell v0.61+ のみサポートされています。
|
これは将来的に変更される可能性があります。 Nushell v0.61+ のみサポートされています。
|
||||||
|
|
||||||
|
@ -8,11 +8,11 @@ Starship は汎用性の高いシェルですが、時には特定の処理を
|
|||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## TransientPrompt in PowerShell
|
## PowerShell の TransientPrompt
|
||||||
|
|
||||||
It is possible to replace the previous-printed prompt with a custom string. This is useful in cases where all the prompt information is not always needed. To enable this, run `Enable-TransientPrompt` in the shell session. To make it permanent, put this statement in your `$PROFILE`. Transience can be disabled on-the-fly with `Disable-TransientPrompt`.
|
過去に出力されたプロンプトを置き換えることができます。 全ての情報が必要では無い時に役に立ちます。 有効にするには、 `Enable-TransientPrompt` をシェルで実行してください。 `$PROFILE` に追記することによって常時有効にすることが出来ます。 また、 `Disable-TransientPrompt` によっていつでも無効化することが出来ます。
|
||||||
|
|
||||||
By default, the left side of input gets replaced with `>`. To customize this, define a new function called `Invoke-Starship-TransientFunction`. For example, to display Starship's `character` module here, you would do
|
デフォルトでは、入力の左側が `>` 出置き換えられます。 カスタマイズするには、関数を `Invoke-Starship-TransientFunction` という名前で定義してください。 Starshipの `character` モジュールを表示する場合はこのようにします:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
function Invoke-Starship-TransientFunction {
|
function Invoke-Starship-TransientFunction {
|
||||||
@ -26,7 +26,7 @@ Enable-TransientPrompt
|
|||||||
|
|
||||||
## TransientPrompt and TransientRightPrompt in Cmd
|
## TransientPrompt and TransientRightPrompt in Cmd
|
||||||
|
|
||||||
Clink allows you to replace the previous-printed prompt with custom strings. This is useful in cases where all the prompt information is not always needed. To enable this, run `clink set prompt.transient <value>` where \<value\> can be one of:
|
Clink allows you to replace the previous-printed prompt with custom strings. 全ての情報が必要では無い時に役に立ちます。 To enable this, run `clink set prompt.transient <value>` where \<value\> can be one of:
|
||||||
|
|
||||||
- `always`: always replace the previous prompt
|
- `always`: always replace the previous prompt
|
||||||
- `same_dir`: replace the previous prompt only if the working directory is same
|
- `same_dir`: replace the previous prompt only if the working directory is same
|
||||||
@ -34,7 +34,7 @@ Clink allows you to replace the previous-printed prompt with custom strings. Thi
|
|||||||
|
|
||||||
You need to do this only once. Make the following changes to your `starship.lua` to customize what gets displayed on the left and on the right:
|
You need to do this only once. Make the following changes to your `starship.lua` to customize what gets displayed on the left and on the right:
|
||||||
|
|
||||||
- By default, the left side of input gets replaced with `>`. To customize this, define a new function called `starship_transient_prompt_func`. This function receives the current prompt as a string that you can utilize. For example, to display Starship's `character` module here, you would do
|
- デフォルトでは、入力の左側が `>` 出置き換えられます。 To customize this, define a new function called `starship_transient_prompt_func`. This function receives the current prompt as a string that you can utilize. Starshipの `character` モジュールを表示する場合はこのようにします:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
function starship_transient_prompt_func(prompt)
|
function starship_transient_prompt_func(prompt)
|
||||||
|
@ -1478,15 +1478,16 @@ ignore_branches = ["master", "main"]
|
|||||||
|
|
||||||
### オプション
|
### オプション
|
||||||
|
|
||||||
| オプション | デフォルト | 説明 |
|
| オプション | デフォルト | 説明 |
|
||||||
| -------------------- | ---------------------------------- | ----------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | 表示されるgitコミットハッシュの長さです。 |
|
| `commit_hash_length` | `7` | 表示されるgitコミットハッシュの長さです。 |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | module のフォーマットです。 |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | module のフォーマットです。 |
|
||||||
| `style` | `"bold green"` | モジュールのスタイルです。 |
|
| `style` | `"bold green"` | モジュールのスタイルです。 |
|
||||||
| `only_detached` | `true` | detached `HEAD` 状態のときのみ git コミットハッシュを表示する |
|
| `only_detached` | `true` | detached `HEAD` 状態のときのみ git コミットハッシュを表示する |
|
||||||
| `tag_disabled` | `true` | `git_commit` モジュールのタグ情報の表示を無効にする。 |
|
| `tag_disabled` | `true` | `git_commit` モジュールのタグ情報の表示を無効にする。 |
|
||||||
| `tag_symbol` | `" 🏷 "` | 表示される情報の前に追加されるタグシンボル |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | `git_commit`モジュールを無効にします。 |
|
| `tag_symbol` | `" 🏷 "` | 表示される情報の前に追加されるタグシンボル |
|
||||||
|
| `disabled` | `false` | `git_commit` モジュールを無効にします。 |
|
||||||
|
|
||||||
### 変数
|
### 変数
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@ curl -sS https://starship.rs/install.sh | sh
|
|||||||
<details>
|
<details>
|
||||||
<summary>Windows</summary>
|
<summary>Windows</summary>
|
||||||
|
|
||||||
Install the latest version for your system with the MSI-installers from the [releases section](https://github.com/starship/starship/releases/latest).
|
[Releasesセクション](https://github.com/starship/starship/releases/latest) のMSIインストーラーでシステムに合った最新バージョンをインストールしてください。
|
||||||
|
|
||||||
以下のいずれかのパッケージマネージャーを使用して、Starshipをインストールします。
|
以下のいずれかのパッケージマネージャーを使用して、Starshipをインストールします。
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | The style for the module. |
|
| `style` | `"bold green"` | The style for the module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | The style for the module. |
|
| `style` | `"bold green"` | The style for the module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | The style for the module. |
|
| `style` | `"bold green"` | The style for the module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1478,15 +1478,16 @@ O módulo `git_commit` exibe o hash do comiit atual e também a tag (se existir)
|
|||||||
|
|
||||||
### Opções
|
### Opções
|
||||||
|
|
||||||
| Opções | Padrão | Descrição |
|
| Opções | Padrão | Descrição |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------------------ |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | O tamanho do git commit hash para ser exibido. |
|
| `commit_hash_length` | `7` | O tamanho do git commit hash para ser exibido. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | O formato do módulo. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | O formato do módulo. |
|
||||||
| `style` | `"bold green"` | O estilo do módulo. |
|
| `style` | `"bold green"` | O estilo do módulo. |
|
||||||
| `only_detached` | `true` | Apenas exibe o git commit hash quando o estado for detached `HEAD` |
|
| `only_detached` | `true` | Apenas exibe o git commit hash quando o estado for detached `HEAD` |
|
||||||
| `tag_disabled` | `true` | Desabilita a exibição da informação da tag no módulo `git_commit`. |
|
| `tag_disabled` | `true` | Desabilita a exibição da informação da tag no módulo `git_commit`. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Simbolo da tag prefixado na informação a ser exibida |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Desabilita o módulo `git_commit`. |
|
| `tag_symbol` | `" 🏷 "` | Simbolo da tag prefixado na informação a ser exibida |
|
||||||
|
| `disabled` | `false` | Desabilita o módulo `git_commit`. |
|
||||||
|
|
||||||
### Variáveis
|
### Variáveis
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | The style for the module. |
|
| `style` | `"bold green"` | The style for the module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Опции
|
### Опции
|
||||||
|
|
||||||
| Параметр | По умолчанию | Описание |
|
| Параметр | По умолчанию | Описание |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | Длина отображаемого хэша коммита git. |
|
| `commit_hash_length` | `7` | Длина отображаемого хэша коммита git. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Формат модуля. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | Формат модуля. |
|
||||||
| `style` | `"bold green"` | Стиль модуля. |
|
| `style` | `"bold green"` | Стиль модуля. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Отключает модуль `git_commit`. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Отключает модуль `git_commit`. |
|
||||||
|
|
||||||
### Переменные
|
### Переменные
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `stil` | `"bold green"` | The style for the module. |
|
| `stil` | `"bold green"` | The style for the module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -1480,15 +1480,16 @@ Mô đun `git_commit` hiển thị hash commit hiện tại và tag (nếu có)
|
|||||||
|
|
||||||
### Các tuỳ chọn
|
### Các tuỳ chọn
|
||||||
|
|
||||||
| Tuỳ chọn | Mặc định | Mô tả |
|
| Tuỳ chọn | Mặc định | Mô tả |
|
||||||
| -------------------- | ---------------------------------- | --------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | Độ dài của git commit hash được hiển thị. |
|
| `commit_hash_length` | `7` | Độ dài của git commit hash được hiển thị. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | Định dạng cho module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | Định dạng cho module. |
|
||||||
| `style` | `"bold green"` | Kiểu cho module. |
|
| `style` | `"bold green"` | Kiểu cho module. |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Vô hiệu hiển thị thông tin tag trong mô đun `git_commit`. |
|
| `tag_disabled` | `true` | Vô hiệu hiển thị thông tin tag trong mô đun `git_commit`. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Biểu tượng tag trước thông tin được hiển thị |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Vô hiệu mô đun `git_commit`. |
|
| `tag_symbol` | `" 🏷 "` | Biểu tượng tag trước thông tin được hiển thị |
|
||||||
|
| `disabled` | `false` | Vô hiệu mô đun `git_commit`. |
|
||||||
|
|
||||||
### Các biến
|
### Các biến
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
home: true
|
home: true
|
||||||
heroImage: /logo.svg
|
heroImage: /logo.svg
|
||||||
heroText:
|
heroText:
|
||||||
tagline: 轻量级、反应迅速、可无限定制的高颜值终端!
|
tagline: 轻量、迅速、可无限定制的高颜值终端!
|
||||||
actionText: 快速上手 →
|
actionText: 快速上手 →
|
||||||
actionLink: ./guide/
|
actionLink: ./guide/
|
||||||
features:
|
features:
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### 配置项
|
### 配置项
|
||||||
|
|
||||||
| 选项 | 默认值 | 描述 |
|
| 选项 | 默认值 | 描述 |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | 显示的 git 提交哈希值的长度。 |
|
| `commit_hash_length` | `7` | 显示的 git 提交哈希值的长度。 |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | 组件格式化模板。 |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | 组件格式化模板。 |
|
||||||
| `style` | `"bold green"` | 此组件的样式。 |
|
| `style` | `"bold green"` | 此组件的样式。 |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | 禁用 `git_commit` 组件。 |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | 禁用 `git_commit` 组件。 |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@
|
|||||||
align="right"
|
align="right"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
**轻量级、反应迅速、可无限定制的高颜值终端!**
|
**轻量、迅速、可无限定制的高颜值终端!**
|
||||||
|
|
||||||
- **快:** 很快 —— 真的真的非常快! 🚀
|
- **快:** 很快 —— 真的真的非常快! 🚀
|
||||||
- **定制化:** 可定制各种各样的提示符。
|
- **定制化:** 可定制各种各样的提示符。
|
||||||
|
@ -1480,15 +1480,16 @@ The `git_commit` module shows the current commit hash and also the tag (if any)
|
|||||||
|
|
||||||
### 選項
|
### 選項
|
||||||
|
|
||||||
| Option | 預設 | 說明 |
|
| Option | 預設 | 說明 |
|
||||||
| -------------------- | ---------------------------------- | ------------------------------------------------------- |
|
| -------------------- | ---------------------------------- | ------------------------------------------------------------------------------------ |
|
||||||
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
|
||||||
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. |
|
||||||
| `style` | `"bold green"` | 這個模組的風格。 |
|
| `style` | `"bold green"` | 這個模組的風格。 |
|
||||||
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
| `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state |
|
||||||
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
|
||||||
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
| `tag_max_candidates` | `0` | How many commits to consider for tag display. The default only allows exact matches. |
|
||||||
| `disabled` | `false` | Disables the `git_commit` module. |
|
| `tag_symbol` | `" 🏷 "` | Tag symbol prefixing the info shown |
|
||||||
|
| `disabled` | `false` | Disables the `git_commit` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user