mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-26 03:27:30 +00:00
docs(i18n): new Crowdin updates (#3677)
This commit is contained in:
parent
77f2f56481
commit
db48cf7a5a
@ -42,8 +42,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
|
|||||||
بإستخدام Shell:
|
بإستخدام Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
لتحديث Starship نفسه، أعد تشغيل البرنامج النصي أعلاه. سيتم استبدال الإصدار الحالي بدون لمس تكوين Starship.
|
لتحديث Starship نفسه، أعد تشغيل البرنامج النصي أعلاه. سيتم استبدال الإصدار الحالي بدون لمس تكوين Starship.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1064,10 +1064,10 @@ default = "unknown user"
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
|
| ----------- | ------------------------------ | ---------------------------------------------------------------------------- |
|
||||||
| `symbol` | `""` | The symbol used before displaying the variable value. |
|
| `symbol` | `""` | The symbol used before displaying the variable value. |
|
||||||
| `variable` | | The environment variable to be displayed. |
|
| `variable` | | The environment variable to be displayed. |
|
||||||
| `default` | | The default value to be displayed when the selected variable is not defined. |
|
| `الافتراضي` | | The default value to be displayed when the selected variable is not defined. |
|
||||||
| `format` | `"with [$env_value]($style) "` | The format for the module. |
|
| `format` | `"with [$env_value]($style) "` | The format for the module. |
|
||||||
| `disabled` | `false` | Disables the `env_var` module. |
|
| `disabled` | `false` | Disables the `env_var` module. |
|
||||||
|
|
||||||
@ -1194,7 +1194,7 @@ The `gcloud` module shows the current configuration for [`gcloud`](https://cloud
|
|||||||
| account | `foo` | The current GCP profile |
|
| account | `foo` | The current GCP profile |
|
||||||
| domain | `example.com` | The current GCP profile domain |
|
| domain | `example.com` | The current GCP profile domain |
|
||||||
| project | | The current GCP project |
|
| project | | The current GCP project |
|
||||||
| active | `default` | The active config name written in `~/.config/gcloud/active_config` |
|
| active | `الافتراضي` | The active config name written in `~/.config/gcloud/active_config` |
|
||||||
| symbol | | Mirrors the value of option `symbol` |
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
@ -1404,10 +1404,16 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
|
|||||||
|
|
||||||
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
|
||||||
|
The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| ------------------- | ----------------------------------------------- | ----------------------------------- |
|
| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
||||||
| `conflicted` | `"="` | This branch has merge conflicts. |
|
| `conflicted` | `"="` | This branch has merge conflicts. |
|
||||||
| `ahead` | `"⇡"` | The format of `ahead` |
|
| `ahead` | `"⇡"` | The format of `ahead` |
|
||||||
@ -1423,6 +1429,7 @@ The `git_status` module shows symbols representing the state of the repo in your
|
|||||||
| `style` | `"bold red"` | The style for the module. |
|
| `style` | `"bold red"` | The style for the module. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
|
| `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1486,6 +1493,15 @@ diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|||||||
behind = "⇣${count}"
|
behind = "⇣${count}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Use Windows Starship executable on Windows paths in WSL
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.exe'
|
||||||
|
```
|
||||||
|
|
||||||
## Go
|
## Go
|
||||||
|
|
||||||
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
||||||
@ -3058,9 +3074,9 @@ By default the module will be shown if any of the following conditions are met:
|
|||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | مثال | الوصف |
|
| Variable | مثال | الوصف |
|
||||||
| --------- | ---------- | ------------------------------------ |
|
| --------- | ----------- | ------------------------------------ |
|
||||||
| version | `v0.12.24` | The version of `terraform` |
|
| version | `v0.12.24` | The version of `terraform` |
|
||||||
| workspace | `default` | The current Terraform workspace |
|
| workspace | `الافتراضي` | The current Terraform workspace |
|
||||||
| symbol | | Mirrors the value of option `symbol` |
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
@ -3366,7 +3382,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
| `command` | `""` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `""` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
|
| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `description` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
|
| `الوصف` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
|
||||||
| `files` | `[]` | The files that will be searched in the working directory for a match. |
|
| `files` | `[]` | The files that will be searched in the working directory for a match. |
|
||||||
| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
|
| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
|
||||||
| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
||||||
|
@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required".
|
|||||||
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Why do I see `Executing command "..." timed out.` warnings?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
@ -203,7 +203,7 @@ Install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
Here is a collection of community-submitted configuration presets for Starship. If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊
|
Here is a collection of community-submitted configuration presets for Starship. If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊
|
||||||
|
|
||||||
## Nerd Font Symbols
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
This preset doesn't change anything except for the symbols used for each module. If emojis aren't your thing, this might catch your eye!
|
## [Nerd Font Symbols](./nerd-font)
|
||||||
|
|
||||||
![Screenshot of Nerd Font Symbols preset](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### المتطلبات الأساسية
|
[![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
## [Bracketed Segments](./bracketed-segments)
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Bracketed Segments
|
|
||||||
|
|
||||||
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
Before:
|
[![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![Screenshot of default Starship configuration](/presets/bracketed-segments-before.png)
|
## [Plain Text Symbols](./plain-text)
|
||||||
|
|
||||||
After:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![Screenshot of Bracketed Segments preset](/presets/bracketed-segments-after.png)
|
[![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### Configuration
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Plain Text Symbols
|
|
||||||
|
|
||||||
This preset changes the symbols into plain text. If your terminal/font could not render the NerdFonts/emojis, maybe you could try this preset!
|
|
||||||
|
|
||||||
Before (default setting with Fixedsys font):
|
|
||||||
|
|
||||||
![Screenshot of default Starship configuration with Fixedsys font](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
After (Plain Text Symbols):
|
|
||||||
|
|
||||||
![Screenshot of Plain Text Symbols preset](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Hide Runtime Versions
|
|
||||||
|
|
||||||
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png)
|
[![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### Configuration
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/ar-SA/presets/bracketed-segments.md
Normal file
13
docs/ar-SA/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
|
![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/ar-SA/presets/nerd-font.md
Normal file
17
docs/ar-SA/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### المتطلبات الأساسية
|
||||||
|
|
||||||
|
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/ar-SA/presets/no-runtimes.md
Normal file
13
docs/ar-SA/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
|
![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/ar-SA/presets/plain-text.md
Normal file
13
docs/ar-SA/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/ar-SA/presets/pure-preset.md
Normal file
13
docs/ar-SA/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Screenshot of Pure preset](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: 'Starship: یەکێ لە promptـە سوکەڵە، خێرا، و ب
|
|||||||
لەگەڵ شێڵ:
|
لەگەڵ شێڵ:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
بۆ نوێکردنەوەی Starship خۆی، نووسینەکەی سەرەوە ڕەن بکەوە. وەشانی ئێستا دەگۆڕێت بێ ئەوەی دەسکاری ڕێکخستنەکانی Starship بکات.
|
بۆ نوێکردنەوەی Starship خۆی، نووسینەکەی سەرەوە ڕەن بکەوە. وەشانی ئێستا دەگۆڕێت بێ ئەوەی دەسکاری ڕێکخستنەکانی Starship بکات.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1066,7 +1066,7 @@ default = "unknown user"
|
|||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
|
| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
|
||||||
| `symbol` | `""` | The symbol used before displaying the variable value. |
|
| `symbol` | `""` | The symbol used before displaying the variable value. |
|
||||||
| `variable` | | The environment variable to be displayed. |
|
| `گۆڕاو` | | The environment variable to be displayed. |
|
||||||
| `default` | | The default value to be displayed when the selected variable is not defined. |
|
| `default` | | The default value to be displayed when the selected variable is not defined. |
|
||||||
| `format` | `"with [$env_value]($style) "` | The format for the module. |
|
| `format` | `"with [$env_value]($style) "` | The format for the module. |
|
||||||
| `disabled` | `false` | Disables the `env_var` module. |
|
| `disabled` | `false` | Disables the `env_var` module. |
|
||||||
@ -1404,10 +1404,16 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
|
|||||||
|
|
||||||
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
|
||||||
|
The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ----------------------------------------------- | ----------------------------------- |
|
| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
||||||
| `conflicted` | `"="` | This branch has merge conflicts. |
|
| `conflicted` | `"="` | This branch has merge conflicts. |
|
||||||
| `ahead` | `"⇡"` | The format of `ahead` |
|
| `ahead` | `"⇡"` | The format of `ahead` |
|
||||||
@ -1423,6 +1429,7 @@ The `git_status` module shows symbols representing the state of the repo in your
|
|||||||
| `style` | `"bold red"` | The style for the module. |
|
| `style` | `"bold red"` | The style for the module. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
|
| `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1486,6 +1493,15 @@ diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|||||||
behind = "⇣${count}"
|
behind = "⇣${count}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Use Windows Starship executable on Windows paths in WSL
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.exe'
|
||||||
|
```
|
||||||
|
|
||||||
## Go
|
## Go
|
||||||
|
|
||||||
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
||||||
@ -2092,8 +2108,8 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/
|
|||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| گۆڕاو | نموونە | Description |
|
| گۆڕاو | نموونە | Description |
|
||||||
| --------- | ------- | ------------------------------------ |
|
| --------- | -------- | ------------------------------------ |
|
||||||
| state | `pure` | The state of the nix-shell |
|
| state | `بێخەوش` | The state of the nix-shell |
|
||||||
| name | `lorri` | The name of the nix-shell |
|
| name | `lorri` | The name of the nix-shell |
|
||||||
| symbol | | Mirrors the value of option `symbol` |
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required".
|
|||||||
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Why do I see `Executing command "..." timed out.` warnings?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
@ -199,7 +199,7 @@ Install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
@ -228,7 +228,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
ئەمە کۆکراوەیەکە لەو پێش ڕێکخستنانەی کە لەلایەن کۆمەڵگاوە نێردراون بۆ Starship. ئەگەر پێش ڕێکخستنێکت هەیە بۆ هاوبەشکردن، تکایە [PRـێک بنێرە](https://github.com/starship/starship/edit/master/docs/presets/README.md) کە ئەم پەڕگەیە نوێبکاتەوە! 😊
|
ئەمە کۆکراوەیەکە لەو پێش ڕێکخستنانەی کە لەلایەن کۆمەڵگاوە نێردراون بۆ Starship. ئەگەر پێش ڕێکخستنێکت هەیە بۆ هاوبەشکردن، تکایە [PRـێک بنێرە](https://github.com/starship/starship/edit/master/docs/presets/README.md) کە ئەم پەڕگەیە نوێبکاتەوە! 😊
|
||||||
|
|
||||||
## هێماکانی Nerd Font
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
ئەم پێش ڕێکخستنە هیچ شتێک ناگۆڕێت جگە لە هێماکان کە بەکارهاتوون بۆ هەر moduleـێک. ئەگەر ئیمۆجیەکان ئەو شتە نین تۆ حەزت لێیە، ئەمە ڕەنگە سەرنجت ڕاکێشێت!
|
## [هێماکانی Nerd Font](./nerd-font)
|
||||||
|
|
||||||
![ڕوونماوێنەیەکی پێش ڕێکخستنی هێماکانی فۆنتی Nerd](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### پێشمەرجەکان
|
[![ڕوونماوێنەیەکی پێش ڕێکخستنی هێماکانی فۆنتی Nerd](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- [Nerd Font](https://www.nerdfonts.com/)ـێک دامەزرێنراوە و چالاککراوە لە تێرمیناڵەکەتدا (بۆ نموونە Fira Code Nerd Font بەکاردەهێنێ)
|
## [پارچە کەوانەکراوەکان](./bracketed-segments)
|
||||||
|
|
||||||
### ڕێکخستن
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## پارچە کەوانەکراوەکان
|
|
||||||
|
|
||||||
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
پێشتر:
|
[![ڕوونماوێنەی پێشڕێکخستنی Bracketed Segments](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![ڕوونماوێنەی ڕێکخستنی بنەڕەتی Starship](/presets/bracketed-segments-before.png)
|
## [هێما نووسینەکییە ئاساییەکان](./plain-text)
|
||||||
|
|
||||||
دواتر:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![ڕوونماوێنەی پێشڕێکخستنی Bracketed Segments](/presets/bracketed-segments-after.png)
|
[![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### ڕێکخستن
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## هێما نووسینەکییە ئاساییەکان
|
|
||||||
|
|
||||||
ئەم پێش ڕێکخستنە هێماکان دەگۆڕێت بۆ نووسینی ئاسایی. ئەگەر تێرمیناڵ/فۆنتەکەت ناتوانێ NerdFonts/ئیمۆجییەکان دەربخات، لەوانەیە پیویست بکا ئەم پێش ڕێکخستنە بەکاربهێنیت!
|
|
||||||
|
|
||||||
پێشتر (ڕێکخستنی بنەڕەتی لەگەڵ فۆنتی Fixedsys):
|
|
||||||
|
|
||||||
![Screenshot of default Starship configuration with Fixedsys font](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
دواتر (هێما نووسینەکییە ئاساییەکان):
|
|
||||||
|
|
||||||
![Screenshot of Plain Text Symbols preset](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### ڕێکخستن
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## شاردنەوەی وەشانەکانی کاتی جێبەجێکردن
|
|
||||||
|
|
||||||
ئەم پێش ڕێکخستنە وەشانی کاتی جێبەجێکردنی زمانەکان دەشارێتەوە. ئەگەر کاردەکەیت لەگەڵ containerو ژینگە خەیاڵییەکان، ئەمە بۆ تۆیە!
|
ئەم پێش ڕێکخستنە وەشانی کاتی جێبەجێکردنی زمانەکان دەشارێتەوە. ئەگەر کاردەکەیت لەگەڵ containerو ژینگە خەیاڵییەکان، ئەمە بۆ تۆیە!
|
||||||
|
|
||||||
![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png)
|
[![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### ڕێکخستن
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## بێخەوش
|
|
||||||
|
|
||||||
ئەم پێش ڕێکخستنە لاسایی شێواز و ڕەفتاری [Pure](https://github.com/sindresorhus/pure) دەکاتەوە.
|
ئەم پێش ڕێکخستنە لاسایی شێواز و ڕەفتاری [Pure](https://github.com/sindresorhus/pure) دەکاتەوە.
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### ڕێکخستن
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/ckb-IR/presets/bracketed-segments.md
Normal file
13
docs/ckb-IR/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
|
![ڕوونماوێنەی پێشڕێکخستنی Bracketed Segments](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### ڕێکخستن
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/ckb-IR/presets/nerd-font.md
Normal file
17
docs/ckb-IR/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![ڕوونماوێنەیەکی پێش ڕێکخستنی هێماکانی فۆنتی Nerd](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### پێشمەرجەکان
|
||||||
|
|
||||||
|
- [Nerd Font](https://www.nerdfonts.com/)ـێک دامەزرێنراوە و چالاککراوە لە تێرمیناڵەکەتدا (بۆ نموونە Fira Code Nerd Font بەکاردەهێنێ)
|
||||||
|
|
||||||
|
### ڕێکخستن
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/ckb-IR/presets/no-runtimes.md
Normal file
13
docs/ckb-IR/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
ئەم پێش ڕێکخستنە وەشانی کاتی جێبەجێکردنی زمانەکان دەشارێتەوە. ئەگەر کاردەکەیت لەگەڵ containerو ژینگە خەیاڵییەکان، ئەمە بۆ تۆیە!
|
||||||
|
|
||||||
|
![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### ڕێکخستن
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/ckb-IR/presets/plain-text.md
Normal file
13
docs/ckb-IR/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### ڕێکخستن
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/ckb-IR/presets/pure-preset.md
Normal file
13
docs/ckb-IR/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
ئەم پێش ڕێکخستنە لاسایی شێواز و ڕەفتاری [Pure](https://github.com/sindresorhus/pure) دەکاتەوە.
|
||||||
|
|
||||||
|
![Screenshot of Pure preset](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### ڕێکخستن
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: Starship ist eine minimale, super schnelle, und extrem anpassbare P
|
|||||||
Mit Shell:
|
Mit Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Um Starship selbst zu aktualisieren, lasse das Skript oben nochmal laufen. Es wird die vorhandene Version ersetzen, ohne die Konfiguration von Starship zu berühren.
|
Um Starship selbst zu aktualisieren, lasse das Skript oben nochmal laufen. Es wird die vorhandene Version ersetzen, ohne die Konfiguration von Starship zu berühren.
|
||||||
|
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@ style = "blue bold"
|
|||||||
|
|
||||||
## Akkustand
|
## Akkustand
|
||||||
|
|
||||||
The `battery` module shows how charged the device's battery is and its current charging status. The module is only visible when the device's battery is below 10%.
|
Das `battery` Modul zeigt, wie hoch der Akku des Geräts geladen ist und den aktuellen Ladestatus. Das Modul ist nur sichtbar, wenn der Akku des Geräts unter 10% geladen ist.
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
@ -390,7 +390,7 @@ discharging_symbol = "💀 "
|
|||||||
|
|
||||||
### Anzeige des Akkustandes
|
### Anzeige des Akkustandes
|
||||||
|
|
||||||
The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). If no `display` is provided. Die Standardwerte sind folgende:
|
The `display` configuration option is used to define when the battery indicator should be shown (threshold), which symbol would be used (symbol), and what it would like (style). Wenn `display` nicht angegeben ist. Die Standardwerte sind folgende:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
@ -402,7 +402,7 @@ The default value for the `charging_symbol` and `discharging_symbol` option is r
|
|||||||
|
|
||||||
#### Optionen
|
#### Optionen
|
||||||
|
|
||||||
The `display` option is an array of the following table.
|
Die `display`-Option beinhaltet ein Array mit den folgenden Werten.
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| -------------------- | ------------ | --------------------------------------------------------------------------------------------------------- |
|
| -------------------- | ------------ | --------------------------------------------------------------------------------------------------------- |
|
||||||
@ -428,9 +428,9 @@ discharging_symbol = "💦"
|
|||||||
|
|
||||||
## Zeichen
|
## Zeichen
|
||||||
|
|
||||||
The `character` module shows a character (usually an arrow) beside where the text is entered in your terminal.
|
Das `character` Modul zeigt ein Zeichen ( meistens einen Pfeil "❯") vor der Texteingabe an.
|
||||||
|
|
||||||
The character will tell you whether the last command was successful or not. It can do this in two ways:
|
Das Zeichen zeigt an ob der letzte Befehl erfolgreich war, oder einen Fehler erzeugt hat. It can do this in two ways:
|
||||||
|
|
||||||
- changing color (`red`/`green`)
|
- changing color (`red`/`green`)
|
||||||
- changing shape (`❯`/`✖`)
|
- changing shape (`❯`/`✖`)
|
||||||
@ -558,15 +558,15 @@ The `cobol` module shows the currently installed version of COBOL. By default, t
|
|||||||
|
|
||||||
## Befehlsdauer
|
## Befehlsdauer
|
||||||
|
|
||||||
The `cmd_duration` module shows how long the last command took to execute. The module will be shown only if the command took longer than two seconds, or the `min_time` config value, if it exists.
|
Das `cmd_duration` Modul zeigt an wie lange der letzte Befehl ausgeführt wurde. Das Modul wird nur angezeigt wenn der letzte Befehl länger als zwei Sekunden ausgeführt wurde. Mit der `min_time` Option kann die Zeit eingestellt werden ab der <0>cmd_duration</0> angezeigt wird.
|
||||||
|
|
||||||
::: warning Do not hook the DEBUG trap in Bash
|
::: warning Nicht die DEBUG-trap in der Bash hooken
|
||||||
|
|
||||||
If you are running Starship in `bash`, do not hook the `DEBUG` trap after running `eval $(starship init $0)`, or this module **will** break.
|
Ist `bash` die Konsole der Wahl, dann nicht die `DEBUG`-trap nach der Ausführung von `eval $(starship init $0)` hooken, andernfalls **wird** dieses Modul unweigerlich untergehen.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Bash users who need preexec-like functionality can use [rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec). Simply define the arrays `preexec_functions` and `precmd_functions` before running `eval $(starship init $0)`, and then proceed as normal.
|
Bash Nutzer, die eine "preexec" ähnliche Funktion benötigen, können [rcaloras bash_preexec Framework](https://github.com/rcaloras/bash-preexec) verwenden. Definieren Sie einfach die Arrays `preexec_functions` und `precmd_functions` bevor sie `eval $(starship init $0)` ausführen, und fahren Sie dann wie gewohnt fort.
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
@ -606,7 +606,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
|
Hinweis: Dies unterdrückt nicht conda's eigenen Prompt-Modifikator, sie können jedoch conda mit `conda config --set changeps1 False` konfigurieren, um die Ausgabe von conda selbst auszuschalten.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@ -789,7 +789,7 @@ format = "via [🦕 $version](green bold) "
|
|||||||
|
|
||||||
## Verzeichnis
|
## Verzeichnis
|
||||||
|
|
||||||
The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
|
Das `directory` -Modul zeigt den Pfad zu Ihrem aktuellen Verzeichnis an, abgeschnitten auf drei übergeordnete Ordner. Your directory will also be truncated to the root of the git repo that you're currently in.
|
||||||
|
|
||||||
When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
|
When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
|
||||||
|
|
||||||
@ -813,7 +813,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
|
|||||||
| `use_os_path_sep` | `true` | Use the OS specific path separator instead of always using `/` (e.g. `\` on Windows) |
|
| `use_os_path_sep` | `true` | Use the OS specific path separator instead of always using `/` (e.g. `\` on Windows) |
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
|
<summary>Dieses Modul hat einige erweiterte Konfigurationsoptionen, welche die Darstellung von Verzeichnissen steuern.</summary>
|
||||||
|
|
||||||
| Advanced Option | Standardwert | Beschreibung |
|
| Advanced Option | Standardwert | Beschreibung |
|
||||||
| --------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
@ -930,13 +930,13 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
|
|||||||
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
|
||||||
| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | Das Format für das Modul. |
|
| `format` | `"via [$symbol($version )(🎯 $tfm )]($style)"` | Das Format für das Modul. |
|
||||||
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `".NET "` | The symbol used before displaying the version of dotnet. |
|
| `symbol` | `".NET "` | Symbol das vor der dotnet-Version angezeigt wird. |
|
||||||
| `heuristic` | `true` | Use faster version detection to keep starship snappy. |
|
| `heuristic` | `true` | Schnelle Versionserkennung nutzen um Starship bedienbar zu halten. |
|
||||||
| `detect_extensions` | `["csproj", "fsproj", "xproj"]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `["csproj", "fsproj", "xproj"]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Which filenames should trigger this module. |
|
| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this modules. |
|
| `detect_folders` | `[]` | Which folders should trigger this modules. |
|
||||||
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `dotnet` module. |
|
| `disabled` | `false` | Deaktiviert das `dotnet`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1064,12 +1064,12 @@ default = "unknown user"
|
|||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ---------- | ------------------------------ | ---------------------------------------------------------------------------- |
|
| ---------- | ------------------------------ | ---------------------------------------------------------------------------------------- |
|
||||||
| `symbol` | `""` | The symbol used before displaying the variable value. |
|
| `symbol` | `""` | Das Symbol, das vor der Anzeige der Variable verwendet wird. |
|
||||||
| `variable` | | The environment variable to be displayed. |
|
| `variable` | | Die anzuzeigende Umgebungsvariable. |
|
||||||
| `default` | | The default value to be displayed when the selected variable is not defined. |
|
| `default` | | Der Standardwert, der angezeigt wird, wenn die ausgewählte Variable nicht definiert ist. |
|
||||||
| `format` | `"with [$env_value]($style) "` | Das Format für das Modul. |
|
| `format` | `"with [$env_value]($style) "` | Das Format für das Modul. |
|
||||||
| `disabled` | `false` | Disables the `env_var` module. |
|
| `disabled` | `false` | Deaktiviert das `env_var`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1246,7 +1246,7 @@ very-long-project-name = "vlpn"
|
|||||||
|
|
||||||
## Git-Branch
|
## Git-Branch
|
||||||
|
|
||||||
The `git_branch` module shows the active branch of the repo in your current directory.
|
Das `git_branch`-Modul zeigt den aktiven Git-Branch des Repositories im aktuellen Verzeichnis an.
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
@ -1259,7 +1259,7 @@ The `git_branch` module shows the active branch of the repo in your current dire
|
|||||||
| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. |
|
| `truncation_length` | `2^63 - 1` | Truncates a git branch to `N` graphemes. |
|
||||||
| `truncation_symbol` | `"…"` | The symbol used to indicate a branch name was truncated. You can use `""` for no symbol. |
|
| `truncation_symbol` | `"…"` | The symbol used to indicate a branch name was truncated. You can use `""` for no symbol. |
|
||||||
| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. |
|
| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. |
|
||||||
| `disabled` | `false` | Disables the `git_branch` module. |
|
| `disabled` | `false` | Deaktiviert das `git_branch`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1336,7 +1336,7 @@ The `git_state` module will show in directories which are part of a git reposito
|
|||||||
| `am_or_rebase` | `"AM/REBASE"` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. |
|
| `am_or_rebase` | `"AM/REBASE"` | A format string displayed when an ambiguous `apply-mailbox` or `rebase` is in progress. |
|
||||||
| `style` | `"bold yellow"` | Stil für dieses Modul. |
|
| `style` | `"bold yellow"` | Stil für dieses Modul. |
|
||||||
| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Das Format für das Modul. |
|
| `format` | `'\([$state( $progress_current/$progress_total)]($style)\) '` | Das Format für das Modul. |
|
||||||
| `disabled` | `false` | Disables the `git_state` module. |
|
| `disabled` | `false` | Deaktiviert das `git_state`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1365,7 +1365,7 @@ The `git_metrics` module will show the number of added and deleted lines in the
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
|
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@ -1404,10 +1404,16 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
|
|||||||
|
|
||||||
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
|
||||||
|
The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ------------------- | ----------------------------------------------- | ----------------------------------- |
|
| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
||||||
| `conflicted` | `"="` | This branch has merge conflicts. |
|
| `conflicted` | `"="` | This branch has merge conflicts. |
|
||||||
| `ahead` | `"⇡"` | The format of `ahead` |
|
| `ahead` | `"⇡"` | The format of `ahead` |
|
||||||
@ -1422,7 +1428,8 @@ The `git_status` module shows symbols representing the state of the repo in your
|
|||||||
| `deleted` | `"✘"` | The format of `deleted` |
|
| `deleted` | `"✘"` | The format of `deleted` |
|
||||||
| `style` | `"bold red"` | Stil für dieses Modul. |
|
| `style` | `"bold red"` | Stil für dieses Modul. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Deaktiviert das `git_status`-Modul. |
|
||||||
|
| `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1486,6 +1493,15 @@ diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|||||||
behind = "⇣${count}"
|
behind = "⇣${count}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Use Windows Starship executable on Windows paths in WSL
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.exe'
|
||||||
|
```
|
||||||
|
|
||||||
## Go
|
## Go
|
||||||
|
|
||||||
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
||||||
@ -1510,7 +1526,7 @@ The `golang` module shows the currently installed version of [Go](https://golang
|
|||||||
| `detect_files` | `["go.mod", "go.sum", "glide.yaml", "Gopkg.yml", "Gopkg.lock", ".go-version"]` | Which filenames should trigger this module. |
|
| `detect_files` | `["go.mod", "go.sum", "glide.yaml", "Gopkg.yml", "Gopkg.lock", ".go-version"]` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `["Godeps"]` | Which folders should trigger this module. |
|
| `detect_folders` | `["Godeps"]` | Which folders should trigger this module. |
|
||||||
| `style` | `"bold cyan"` | Stil für dieses Modul. |
|
| `style` | `"bold cyan"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `golang` module. |
|
| `disabled` | `false` | Deaktiviert das `golang`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1572,17 +1588,17 @@ format = "via [⎈ $version](bold white) "
|
|||||||
|
|
||||||
## Hostname
|
## Hostname
|
||||||
|
|
||||||
The `hostname` module shows the system hostname.
|
Das `hostname`-Modul zeigt den Hostnamen des Systems an.
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ---------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
| ---------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
| `ssh_only` | `true` | Only show hostname when connected to an SSH session. |
|
| `ssh_only` | `true` | Zeigt den Hostnamen nur, wenn via SSH-Sitzung verbunden. |
|
||||||
| `trim_at` | `"."` | String that the hostname is cut off at, after the first match. `"."` will stop after the first dot. `""` will disable any truncation |
|
| `trim_at` | `"."` | String that the hostname is cut off at, after the first match. `"."` will stop after the first dot. `""` will disable any truncation |
|
||||||
| `format` | `"[$hostname]($style) in "` | Das Format für das Modul. |
|
| `format` | `"[$hostname]($style) in "` | Das Format für das Modul. |
|
||||||
| `style` | `"bold dimmed green"` | Stil für dieses Modul. |
|
| `style` | `"bold dimmed green"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `hostname` module. |
|
| `disabled` | `false` | Deaktiviert das `hostname`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1623,7 +1639,7 @@ The `java` module shows the currently installed version of [Java](https://www.or
|
|||||||
| `detect_folders` | `[]` | Which folders should trigger this modules. |
|
| `detect_folders` | `[]` | Which folders should trigger this modules. |
|
||||||
| `symbol` | `"☕ "` | A format string representing the symbol of Java |
|
| `symbol` | `"☕ "` | A format string representing the symbol of Java |
|
||||||
| `style` | `"red dimmed"` | Stil für dieses Modul. |
|
| `style` | `"red dimmed"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `java` module. |
|
| `disabled` | `false` | Deaktiviert das `Java`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1669,14 +1685,14 @@ The `threshold` option is deprecated, but if you want to use it, the module will
|
|||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ------------------ | ----------------------------- | ------------------------------------------------------------------------ |
|
| ------------------ | ----------------------------- | -------------------------------------------------------------------------------- |
|
||||||
| `threshold`* | `1` | Show number of jobs if exceeded. |
|
| `threshold`* | `1` | Zeigt die Anzahl der Jobs wenn der angegebene Schwellenwert überschritten wurde. |
|
||||||
| `symbol_threshold` | `1` | Show `symbol` if the job count is at least `symbol_threshold`. |
|
| `symbol_threshold` | `1` | Show `symbol` if the job count is at least `symbol_threshold`. |
|
||||||
| `number_threshold` | `2` | Show the number of jobs if the job count is at least `number_threshold`. |
|
| `number_threshold` | `2` | Show the number of jobs if the job count is at least `number_threshold`. |
|
||||||
| `format` | `"[$symbol$number]($style) "` | Das Format für das Modul. |
|
| `format` | `"[$symbol$number]($style) "` | Das Format für das Modul. |
|
||||||
| `symbol` | `"✦"` | The string used to represent the `symbol` variable. |
|
| `symbol` | `"✦"` | The string used to represent the `symbol` variable. |
|
||||||
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `jobs` module. |
|
| `disabled` | `false` | Deaktiviert das `jobs`-Modul. |
|
||||||
|
|
||||||
*: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead.
|
*: This option is deprecated, please use the `number_threshold` and `symbol_threshold` options instead.
|
||||||
|
|
||||||
@ -1794,7 +1810,7 @@ Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/co
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
|
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@ -1806,7 +1822,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Das Format für das Modul. |
|
| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Das Format für das Modul. |
|
||||||
| `style` | `"cyan bold"` | Stil für dieses Modul. |
|
| `style` | `"cyan bold"` | Stil für dieses Modul. |
|
||||||
| `context_aliases` | | Table of context aliases to display. |
|
| `context_aliases` | | Table of context aliases to display. |
|
||||||
| `disabled` | `true` | Disables the `kubernetes` module. |
|
| `disabled` | `true` | Deaktiviert das `kubernetes`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1856,15 +1872,15 @@ Long and automatically generated cluster names can be identified and shortened u
|
|||||||
"gke_.*_(?P<var_cluster>[\\w-]+)" = "gke-$var_cluster"
|
"gke_.*_(?P<var_cluster>[\\w-]+)" = "gke-$var_cluster"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Line Break
|
## Zeilenumbruch
|
||||||
|
|
||||||
The `line_break` module separates the prompt into two lines.
|
Das `line_break`-Modul unterteilt den Prompt in zwei Zeilen.
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ---------- | ------------ | ------------------------------------------------------------------ |
|
| ---------- | ------------ | ---------------------------------------------------------------------- |
|
||||||
| `disabled` | `false` | Disables the `line_break` module, making the prompt a single line. |
|
| `disabled` | `false` | Deaktiviert das `line_break`-Modul, wodurch der Prompt einzeilig wird. |
|
||||||
|
|
||||||
### Beispiel
|
### Beispiel
|
||||||
|
|
||||||
@ -1951,25 +1967,25 @@ format = "via [🌕 $version](bold blue) "
|
|||||||
|
|
||||||
## Speicherauslastung
|
## Speicherauslastung
|
||||||
|
|
||||||
The `memory_usage` module shows current system memory and swap usage.
|
Das `memory_usage` Modul zeigt den aktuellen Systemspeicher und die swap-Nutzung an.
|
||||||
|
|
||||||
By default the swap usage is displayed if the total system swap is non-zero.
|
Standardmäßig wird die swap-Nutzung angezeigt, wenn der gesamte System-swap nicht Null ist.
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
|
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ----------- | ----------------------------------------------- | -------------------------------------------------------- |
|
| ----------- | ----------------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. |
|
| `threshold` | `75` | Speicherauslastung ausblenden, wenn sie unter diesem Prozentsatz ist. |
|
||||||
| `format` | `"via $symbol [${ram}( \| ${swap})]($style) "` | Das Format für das Modul. |
|
| `format` | `"via $symbol [${ram}( \| ${swap})]($style) "` | Das Format für das Modul. |
|
||||||
| `symbol` | `"🐏"` | The symbol used before displaying the memory usage. |
|
| `symbol` | `"🐏"` | Symbol das vor der Speicherauslastung angezeigt wird. |
|
||||||
| `style` | `"bold dimmed white"` | Stil für dieses Modul. |
|
| `style` | `"bold dimmed white"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `true` | Disables the `memory_usage` module. |
|
| `disabled` | `true` | Deaktiviert das `memory_usage`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -2045,7 +2061,7 @@ The `nim` module shows the currently installed version of [Nim](https://nim-lang
|
|||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `"via [$symbol($version )]($style)"` | The format for the module |
|
| `format` | `"via [$symbol($version )]($style)"` | Das Format für das Modul |
|
||||||
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
|
| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
|
||||||
| `detect_extensions` | `["nim", "nims", "nimble"]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `["nim", "nims", "nimble"]` | Which extensions should trigger this module. |
|
||||||
@ -2076,7 +2092,7 @@ symbol = "🎣 "
|
|||||||
|
|
||||||
## Nix-Shell
|
## Nix-Shell
|
||||||
|
|
||||||
The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. The module will be shown when inside a nix-shell environment.
|
The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/developing-with-nix-shell.html) environment. Das Modul wird angezeigt, wenn es sich in einer nix-Shell-Umgebung befindet.
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
@ -2087,7 +2103,7 @@ The `nix_shell` module shows the [nix-shell](https://nixos.org/guides/nix-pills/
|
|||||||
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
| `style` | `"bold blue"` | Stil für dieses Modul. |
|
||||||
| `impure_msg` | `"impure"` | A format string shown when the shell is impure. |
|
| `impure_msg` | `"impure"` | A format string shown when the shell is impure. |
|
||||||
| `pure_msg` | `"pure"` | A format string shown when the shell is pure. |
|
| `pure_msg` | `"pure"` | A format string shown when the shell is pure. |
|
||||||
| `disabled` | `false` | Disables the `nix_shell` module. |
|
| `disabled` | `false` | Deaktiviert das `nix_shell`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -2134,7 +2150,7 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n
|
|||||||
| `detect_files` | `["package.json", ".node-version"]` | Which filenames should trigger this module. |
|
| `detect_files` | `["package.json", ".node-version"]` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `["node_modules"]` | Which folders should trigger this module. |
|
| `detect_folders` | `["node_modules"]` | Which folders should trigger this module. |
|
||||||
| `style` | `"bold green"` | Stil für dieses Modul. |
|
| `style` | `"bold green"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `nodejs` module. |
|
| `disabled` | `false` | Deaktiviert das `nodejs`-Modul. |
|
||||||
| `not_capable_style` | `bold red` | The style for the module when an engines property in package.json does not match the Node.js version. |
|
| `not_capable_style` | `bold red` | The style for the module when an engines property in package.json does not match the Node.js version. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
@ -2240,7 +2256,7 @@ symbol = "☁️ "
|
|||||||
|
|
||||||
## Paketversion
|
## Paketversion
|
||||||
|
|
||||||
The `package` module is shown when the current directory is the repository for a package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards` and `dart` packages.
|
Das `Package` Modul wird angezeigt, wenn das aktuelle Verzeichnis das Repository für ein Paket ist, und zeigt dessen aktuelle Version an. The module currently supports `npm`, `nimble`, `cargo`, `poetry`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards` and `dart` packages.
|
||||||
|
|
||||||
- [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory
|
- [**npm**](https://docs.npmjs.com/cli/commands/npm) – The `npm` package version is extracted from the `package.json` present in the current directory
|
||||||
- [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory
|
- [**Cargo**](https://doc.rust-lang.org/cargo/) – The `cargo` package version is extracted from the `Cargo.toml` present in the current directory
|
||||||
@ -2266,11 +2282,11 @@ The `package` module is shown when the current directory is the repository for a
|
|||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ----------------- | --------------------------------- | ------------------------------------------------------------------------- |
|
| ----------------- | --------------------------------- | ------------------------------------------------------------------------- |
|
||||||
| `format` | `"is [$symbol$version]($style) "` | Das Format für das Modul. |
|
| `format` | `"is [$symbol$version]($style) "` | Das Format für das Modul. |
|
||||||
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
|
| `symbol` | `"📦 "` | Symbol das vor der Paketversion angezeigt wird. |
|
||||||
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `style` | `"bold 208"` | Stil für dieses Modul. |
|
| `style` | `"bold 208"` | Stil für dieses Modul. |
|
||||||
| `display_private` | `false` | Enable displaying version for packages marked as private. |
|
| `display_private` | `false` | Enable displaying version for packages marked as private. |
|
||||||
| `disabled` | `false` | Disables the `package` module. |
|
| `disabled` | `false` | Deaktiviert das `package`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -2345,12 +2361,12 @@ The `php` module shows the currently installed version of [PHP](https://www.php.
|
|||||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `"via [$symbol($version )]($style)"` | Das Format für das Modul. |
|
| `format` | `"via [$symbol($version )]($style)"` | Das Format für das Modul. |
|
||||||
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `"🐘 "` | The symbol used before displaying the version of PHP. |
|
| `symbol` | `"🐘 "` | Symbol das vor der PHP-Version angezeigt wird. |
|
||||||
| `detect_extensions` | `["php"]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `["php"]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `["composer.json", ".php-version"]` | Which filenames should trigger this module. |
|
| `detect_files` | `["composer.json", ".php-version"]` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `"147 bold"` | Stil für dieses Modul. |
|
| `style` | `"147 bold"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `php` module. |
|
| `disabled` | `false` | Deaktiviert das `php`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -2399,10 +2415,10 @@ By default the module will be shown if any of the following conditions are met:
|
|||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Beispiel | Beschreibung |
|
| Variable | Beispiel | Beschreibung |
|
||||||
| --------- | ---------- | ------------------------------------- |
|
| ------------ | ---------- | ------------------------------------- |
|
||||||
| version | `v0.12.24` | The version of `pulumi` |
|
| version | `v0.12.24` | The version of `pulumi` |
|
||||||
| stack | `dev` | The current Pulumi stack |
|
| stack | `dev` | The current Pulumi stack |
|
||||||
| username | `alice` | The current Pulumi username |
|
| benutzername | `alice` | The current Pulumi username |
|
||||||
| symbol | | Spiegelt den Wert der Option `symbol` |
|
| symbol | | Spiegelt den Wert der Option `symbol` |
|
||||||
| style\* | | Spiegelt den Wert der Option `style` |
|
| style\* | | Spiegelt den Wert der Option `style` |
|
||||||
|
|
||||||
@ -2493,13 +2509,13 @@ By default the module will be shown if any of the following conditions are met:
|
|||||||
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `"v${raw}"` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `"🐍 "` | A format string representing the symbol of Python |
|
| `symbol` | `"🐍 "` | A format string representing the symbol of Python |
|
||||||
| `style` | `"yellow bold"` | Stil für dieses Modul. |
|
| `style` | `"yellow bold"` | Stil für dieses Modul. |
|
||||||
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
| `pyenv_version_name` | `false` | Verwende `pyenv` um die Python-Versionzu beziehen. |
|
||||||
| `pyenv_prefix` | `pyenv` | Prefix before pyenv version display, only used if pyenv is used |
|
| `pyenv_prefix` | `pyenv` | Prefix before pyenv version display, only used if pyenv is used |
|
||||||
| `python_binary` | `["python", "python3", "python2"]` | Configures the python binaries that Starship should executes when getting the version. |
|
| `python_binary` | `["python", "python3", "python2"]` | Configures the python binaries that Starship should executes when getting the version. |
|
||||||
| `detect_extensions` | `["py"]` | Which extensions should trigger this module |
|
| `detect_extensions` | `["py"]` | Which extensions should trigger this module |
|
||||||
| `detect_files` | `[".python-version", "Pipfile", "__init__.py", "pyproject.toml", "requirements.txt", "setup.py", "tox.ini"]` | Which filenames should trigger this module |
|
| `detect_files` | `[".python-version", "Pipfile", "__init__.py", "pyproject.toml", "requirements.txt", "setup.py", "tox.ini"]` | Which filenames should trigger this module |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module |
|
| `detect_folders` | `[]` | Which folders should trigger this module |
|
||||||
| `disabled` | `false` | Disables the `python` module. |
|
| `disabled` | `false` | Deaktiviert das `python`-Modul. |
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
@ -2600,7 +2616,7 @@ format = "with [📐 $version](blue bold) "
|
|||||||
|
|
||||||
## Red
|
## Red
|
||||||
|
|
||||||
By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). The module will be shown if any of the following conditions are met:
|
By default the `red` module shows the currently installed version of [Red](https://www.red-lang.org/). Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
|
||||||
|
|
||||||
- The current directory contains a file with `.red` or `.reds` extension
|
- The current directory contains a file with `.red` or `.reds` extension
|
||||||
|
|
||||||
@ -2638,7 +2654,7 @@ symbol = "🔴 "
|
|||||||
|
|
||||||
## Ruby
|
## Ruby
|
||||||
|
|
||||||
By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). The module will be shown if any of the following conditions are met:
|
By default the `ruby` module shows the currently installed version of [Ruby](https://www.ruby-lang.org/). Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
|
||||||
|
|
||||||
- Das aktuelle Verzeichnis enthält eine `Gemfile`-Datei
|
- Das aktuelle Verzeichnis enthält eine `Gemfile`-Datei
|
||||||
- The current directory contains a `.ruby-version` file
|
- The current directory contains a `.ruby-version` file
|
||||||
@ -2659,7 +2675,7 @@ Starship gets the current Ruby version by running `ruby -v`.
|
|||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `detect_variables` | `["RUBY_VERSION", "RBENV_VERSION"]` | Which environment variables should trigger this module. |
|
| `detect_variables` | `["RUBY_VERSION", "RBENV_VERSION"]` | Which environment variables should trigger this module. |
|
||||||
| `style` | `"bold red"` | Stil für dieses Modul. |
|
| `style` | `"bold red"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `ruby` module. |
|
| `disabled` | `false` | Deaktiviert das `ruby`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -2682,7 +2698,7 @@ symbol = "🔺 "
|
|||||||
|
|
||||||
## Rust
|
## Rust
|
||||||
|
|
||||||
By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). The module will be shown if any of the following conditions are met:
|
By default the `rust` module shows the currently installed version of [Rust](https://www.rust-lang.org/). Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
|
||||||
|
|
||||||
- Das aktuelle Verzeichnis enthält eine `Cargo.toml`-Datei
|
- Das aktuelle Verzeichnis enthält eine `Cargo.toml`-Datei
|
||||||
- Das aktuelle Verzeichnis enthält eine Datei mit der `.rs`-Erweiterung
|
- Das aktuelle Verzeichnis enthält eine Datei mit der `.rs`-Erweiterung
|
||||||
@ -2698,7 +2714,7 @@ By default the `rust` module shows the currently installed version of [Rust](htt
|
|||||||
| `detect_files` | `["Cargo.toml"]` | Which filenames should trigger this module. |
|
| `detect_files` | `["Cargo.toml"]` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `"bold red"` | Stil für dieses Modul. |
|
| `style` | `"bold red"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `rust` module. |
|
| `disabled` | `false` | Deaktiviert das `rust`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -2765,7 +2781,7 @@ The `shell` module shows an indicator for currently used shell.
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
|
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@ -2793,7 +2809,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| Variable | Standardwert | Beschreibung |
|
| Variable | Standardwert | Beschreibung |
|
||||||
| --------- | ------------ | ---------------------------------------------------------- |
|
| --------- | ------------ | ---------------------------------------------------------- |
|
||||||
| indicator | | Mirrors the value of `indicator` for currently used shell. |
|
| indicator | | Mirrors the value of `indicator` for currently used shell. |
|
||||||
| style\* | | Mirrors the value of option `style`. |
|
| style\* | | Spiegelt den Wert der Option `style`. |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
@ -2884,7 +2900,7 @@ The `status` module displays the exit code of the previous command. The module w
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
|
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@ -2945,7 +2961,7 @@ The `sudo` module displays if sudo credentials are currently cached. The module
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
|
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@ -2990,7 +3006,7 @@ disabled = false
|
|||||||
|
|
||||||
## Swift
|
## Swift
|
||||||
|
|
||||||
By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). The module will be shown if any of the following conditions are met:
|
By default the `swift` module shows the currently installed version of [Swift](https://swift.org/). Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
|
||||||
|
|
||||||
- The current directory contains a `Package.swift` file
|
- The current directory contains a `Package.swift` file
|
||||||
- The current directory contains a file with the `.swift` extension
|
- The current directory contains a file with the `.swift` extension
|
||||||
@ -3053,7 +3069,7 @@ By default the module will be shown if any of the following conditions are met:
|
|||||||
| `detect_files` | `[]` | Which filenames should trigger this module. |
|
| `detect_files` | `[]` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[".terraform"]` | Which folders should trigger this module. |
|
| `detect_folders` | `[".terraform"]` | Which folders should trigger this module. |
|
||||||
| `style` | `"bold 105"` | Stil für dieses Modul. |
|
| `style` | `"bold 105"` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `terraform` module. |
|
| `disabled` | `false` | Deaktiviert das `terraform` Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -3088,33 +3104,33 @@ format = "[🏎💨 $workspace]($style) "
|
|||||||
|
|
||||||
## Zeit
|
## Zeit
|
||||||
|
|
||||||
The `time` module shows the current **local** time. The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available.
|
Das `time` Modul zeigt die aktuelle **lokale** Zeit an. Der `format` Wert wird von der crate [`chrono`](https://crates.io/crates/chrono) benutzt um die Zeit zu formatieren. Schau dir [die chrono strftime Dokumentation](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) an, um die möglichen Optionen zu sehen.
|
||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
|
Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ----------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
|
| ----------------- | ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `"at [$time]($style) "` | The format string for the module. |
|
| `format` | `"at [$time]($style) "` | The format string for the module. |
|
||||||
| `use_12hr` | `false` | Enables 12 hour formatting |
|
| `use_12hr` | `false` | Aktiviert die Formatierung der Uhrzeit im 12-Stunden-Format. |
|
||||||
| `time_format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. |
|
| `time_format` | Siehe unten | Das Format zum Anzeigen der Uhrzeit in [chrono-Formatierung](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html). |
|
||||||
| `style` | `"bold yellow"` | The style for the module time |
|
| `style` | `"bold yellow"` | Stil für dieses Modul. |
|
||||||
| `utc_time_offset` | `"local"` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. |
|
| `utc_time_offset` | `"local"` | Legt das UTC-Offset fest, das verwendet werden soll. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. |
|
||||||
| `disabled` | `true` | Disables the `time` module. |
|
| `disabled` | `true` | Deaktiviert das `time`-Modul. |
|
||||||
| `time_range` | `"-"` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format |
|
| `time_range` | `"-"` | Sets the time range during which the module will be shown. Times must be specified in 24-hours format |
|
||||||
|
|
||||||
If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Otherwise, it defaults to `"%T"`. Manually setting `time_format` will override the `use_12hr` setting.
|
If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Ansonsten ist der Standardwert hierfür `"%T"`. Manually setting `time_format` will override the `use_12hr` setting.
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Beispiel | Beschreibung |
|
| Variable | Beispiel | Beschreibung |
|
||||||
| --------- | ---------- | ------------------------------------ |
|
| --------- | ---------- | ------------------------------------ |
|
||||||
| time | `13:08:10` | The current time. |
|
| uhrzeit | `13:08:10` | The current time. |
|
||||||
| style\* | | Spiegelt den Wert der Option `style` |
|
| style\* | | Spiegelt den Wert der Option `style` |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
@ -3134,7 +3150,7 @@ time_range = "10:00:00-14:00:00"
|
|||||||
|
|
||||||
## Benutzername
|
## Benutzername
|
||||||
|
|
||||||
The `username` module shows active user's username. The module will be shown if any of the following conditions are met:
|
Das Modul `username` zeigt den Benutzernamen des aktiven Benutzers. Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
|
||||||
|
|
||||||
- Der aktuelle Benutzer ist root
|
- Der aktuelle Benutzer ist root
|
||||||
- Der aktuelle Benutzer ist nicht derjenige, der derzeit angemeldet ist
|
- Der aktuelle Benutzer ist nicht derjenige, der derzeit angemeldet ist
|
||||||
@ -3150,12 +3166,12 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ------------- | ----------------------- | ------------------------------------- |
|
| ------------- | ----------------------- | --------------------------------- |
|
||||||
| `style_root` | `"bold red"` | The style used when the user is root. |
|
| `style_root` | `"bold red"` | Stil beim root-Benutzer. |
|
||||||
| `style_user` | `"bold yellow"` | The style used for non-root users. |
|
| `style_user` | `"bold yellow"` | Stil bei allen anderen Benutzern. |
|
||||||
| `format` | `"[$user]($style) in "` | Das Format für das Modul. |
|
| `format` | `"[$user]($style) in "` | Das Format für das Modul. |
|
||||||
| `show_always` | `false` | Always shows the `username` module. |
|
| `show_always` | `false` | `username`-Modul immer anzeigen. |
|
||||||
| `disabled` | `false` | Disables the `username` module. |
|
| `disabled` | `false` | Deaktiviert das `username`-Modul. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -3285,7 +3301,7 @@ format = "[🆅 $repo](bold blue) "
|
|||||||
|
|
||||||
## Zig
|
## Zig
|
||||||
|
|
||||||
By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). The module will be shown if any of the following conditions are met:
|
By default the the `zig` module shows the currently installed version of [Zig](https://ziglang.org/). Das Modul wird nur dann angezeigt, wenn eine der folgenden Bedingungen zutrifft:
|
||||||
|
|
||||||
- The current directory contains a `.zig` file
|
- The current directory contains a `.zig` file
|
||||||
|
|
||||||
@ -3362,11 +3378,11 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ------------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| -------------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `command` | `""` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `""` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
|
| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `description` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
|
| `beschreibung` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
|
||||||
| `files` | `[]` | The files that will be searched in the working directory for a match. |
|
| `files` | `[]` | The files that will be searched in the working directory for a match. |
|
||||||
| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
|
| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
|
||||||
| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
||||||
|
@ -53,7 +53,7 @@ Die Eingabeaufforderung verwendet so viel Kontext wie möglich, aber keine Flagg
|
|||||||
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Why do I see `Executing command "..." timed out.` warnings?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
@ -203,7 +203,7 @@ Install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
Here is a collection of community-submitted configuration presets for Starship. If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊
|
Here is a collection of community-submitted configuration presets for Starship. If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊
|
||||||
|
|
||||||
## Nerd Font Symbole
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
This preset doesn't change anything except for the symbols used for each module. If emojis aren't your thing, this might catch your eye!
|
## [Nerd Font Symbole](./nerd-font)
|
||||||
|
|
||||||
![Screenshot of Nerd Font Symbols preset](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### Voraussetzungen
|
[![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
## [Bracketed Segments](./bracketed-segments)
|
||||||
|
|
||||||
### Konfiguration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Bracketed Segments
|
|
||||||
|
|
||||||
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
Before:
|
[![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![Screenshot of default Starship configuration](/presets/bracketed-segments-before.png)
|
## [Plain Text Symbols](./plain-text)
|
||||||
|
|
||||||
After:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![Screenshot of Bracketed Segments preset](/presets/bracketed-segments-after.png)
|
[![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### Konfiguration
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Plain Text Symbols
|
|
||||||
|
|
||||||
This preset changes the symbols into plain text. If your terminal/font could not render the NerdFonts/emojis, maybe you could try this preset!
|
|
||||||
|
|
||||||
Before (default setting with Fixedsys font):
|
|
||||||
|
|
||||||
![Screenshot of default Starship configuration with Fixedsys font](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
After (Plain Text Symbols):
|
|
||||||
|
|
||||||
![Screenshot of Plain Text Symbols preset](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### Konfiguration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Hide Runtime Versions
|
|
||||||
|
|
||||||
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png)
|
[![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### Konfiguration
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### Konfiguration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/de-DE/presets/bracketed-segments.md
Normal file
13
docs/de-DE/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
|
![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### Konfiguration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/de-DE/presets/nerd-font.md
Normal file
17
docs/de-DE/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### Voraussetzungen
|
||||||
|
|
||||||
|
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
||||||
|
|
||||||
|
### Konfiguration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/de-DE/presets/no-runtimes.md
Normal file
13
docs/de-DE/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
|
![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### Konfiguration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/de-DE/presets/plain-text.md
Normal file
13
docs/de-DE/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### Konfiguration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/de-DE/presets/pure-preset.md
Normal file
13
docs/de-DE/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Screenshot of Pure preset](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### Konfiguration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: '¡Starship es el prompt minimalista, ultrarápido e infinitamente
|
|||||||
Con el intérprete de comandos:
|
Con el intérprete de comandos:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Para actualizar Starship, vuelve a ejecutar el guión anterior. Reemplazará la versión actual sin tocar la configuración de Starship.
|
Para actualizar Starship, vuelve a ejecutar el guión anterior. Reemplazará la versión actual sin tocar la configuración de Starship.
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,7 @@ El símbolo de sistema usará tanto contexto como le proveas, pero no hay parám
|
|||||||
Si obtienes un error como "_version 'GLIBC_2.18' not found (required by starship)_" al usar el binario precompilado (por ejemplo, en CentOS 6 o 7), puedes usar el binario compilado con `musl` en vez de `glibc`:
|
Si obtienes un error como "_version 'GLIBC_2.18' not found (required by starship)_" al usar el binario precompilado (por ejemplo, en CentOS 6 o 7), puedes usar el binario compilado con `musl` en vez de `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## ¿Por qué veo advertencias `Executing command"..." timed out.`?
|
## ¿Por qué veo advertencias `Executing command"..." timed out.`?
|
||||||
|
@ -203,7 +203,7 @@ Instalar Starship usando cualquiera de los siguientes gestores de paquetes:
|
|||||||
Instale la última versión para su sistema:
|
Instale la última versión para su sistema:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternativamente, instale Starship usando cualquiera de los siguientes gestores de paquetes:
|
Alternativamente, instale Starship usando cualquiera de los siguientes gestores de paquetes:
|
||||||
@ -232,7 +232,7 @@ Alternativamente, instale Starship usando cualquiera de los siguientes gestores
|
|||||||
Instale la última versión para su sistema:
|
Instale la última versión para su sistema:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternativamente, instale Starship usando cualquiera de los siguientes gestores de paquetes:
|
Alternativamente, instale Starship usando cualquiera de los siguientes gestores de paquetes:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Instalación
|
### Instalación
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
Aqui tienes una colección de preajustes creados por la comunidad de Starship. ¡Si quieres compartir un preajuste, por favor, [envía un PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) actualizando este archivo! 😊
|
Aqui tienes una colección de preajustes creados por la comunidad de Starship. ¡Si quieres compartir un preajuste, por favor, [envía un PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) actualizando este archivo! 😊
|
||||||
|
|
||||||
## Símbolos de Nerd Font
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
Este preajuste no modifica nada excepto los símbolos usados para cada módulo. Si los emojis no son lo tuyo, ¡esto podría llamar tu atención!
|
## [Símbolos de Nerd Font](./nerd-font)
|
||||||
|
|
||||||
![Captura de pantalla del preajuste de los Símbolos de Nerd Font](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### Prerequisitos
|
[![Captura de pantalla del preajuste de los Símbolos de Nerd Font](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- Una [Nerd Font](https://www.nerdfonts.com/) instalada y habilitada en tu terminal (el ejemplo usa Fira Code Nerd Font)
|
## [Segmentos entre Corchetes](./bracketed-segments)
|
||||||
|
|
||||||
### Configuración
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Segmentos entre Corchetes
|
|
||||||
|
|
||||||
Este preajuste cambia el formato de todos los módulos incorporados para mostrar su segmento entre corchetes en lugar de usar la redacción por defecto de Starship ("via", "on", etc.).
|
Este preajuste cambia el formato de todos los módulos incorporados para mostrar su segmento entre corchetes en lugar de usar la redacción por defecto de Starship ("via", "on", etc.).
|
||||||
|
|
||||||
Antes:
|
[![Captura de pantalla del preajuste de los Segmentos entre Corchetes](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![Captura de pantalla de la configuración por defecto de Starship](/presets/bracketed-segments-before.png)
|
## [Símbolos de texto sin formato](./plain-text)
|
||||||
|
|
||||||
Después:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![Captura de pantalla del preajuste de los Segmentos entre Corchetes](/presets/bracketed-segments-after.png)
|
[![Captura de pantalla del ajuste de los Símbolos de Texto Plano](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### Configuración
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Símbolos de texto sin formato
|
|
||||||
|
|
||||||
Este preajuste cambia los símbolos a texto sin formato. Si tu terminal/fuente no pudo renderizar el NerdFonts/emojis, ¡tal vez podría probar este preajuste!
|
|
||||||
|
|
||||||
Antes (configuración por defecto con Fuente Fixedsys):
|
|
||||||
|
|
||||||
![Captura de pantalla de configuración por defecto de Starship con fuente Fixedsys](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
Después (Símbolos de texto sin formato):
|
|
||||||
|
|
||||||
![Captura de pantalla del ajuste de los Símbolos de Texto Plano](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### Configuración
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Ocultar versiones en tiempo de ejecución
|
|
||||||
|
|
||||||
Este preajuste oculta la versión de los tiempos de ejecución del idioma. Si trabajas en contenedores o entornos virtualizados, ¡ésto es para ti!
|
Este preajuste oculta la versión de los tiempos de ejecución del idioma. Si trabajas en contenedores o entornos virtualizados, ¡ésto es para ti!
|
||||||
|
|
||||||
![Captura de pantalla del preajuste de Ocultar de versiones de tiempo de ejecución](/presets/hide-runtime-versions.png)
|
[![Captura de pantalla del preajuste de Ocultar de versiones de tiempo de ejecución](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### Configuración
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
Esta preajuste emula la apariencia y el comportamiento de [Pure](https://github.com/sindresorhus/pure).
|
Esta preajuste emula la apariencia y el comportamiento de [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
![Captura de pantalla del ajuste de Pure](/presets/pure-prompt.png)
|
[![Captura de pantalla del ajuste de Pure](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### Configuración
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/es-ES/presets/bracketed-segments.md
Normal file
13
docs/es-ES/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
Este preajuste cambia el formato de todos los módulos incorporados para mostrar su segmento entre corchetes en lugar de usar la redacción por defecto de Starship ("via", "on", etc.).
|
||||||
|
|
||||||
|
![Captura de pantalla del preajuste de los Segmentos entre Corchetes](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### Configuración
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/es-ES/presets/nerd-font.md
Normal file
17
docs/es-ES/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Captura de pantalla del preajuste de los Símbolos de Nerd Font](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### Prerequisitos
|
||||||
|
|
||||||
|
- Una [Nerd Font](https://www.nerdfonts.com/) instalada y habilitada en tu terminal (el ejemplo usa Fira Code Nerd Font)
|
||||||
|
|
||||||
|
### Configuración
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/es-ES/presets/no-runtimes.md
Normal file
13
docs/es-ES/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
Este preajuste oculta la versión de los tiempos de ejecución del idioma. Si trabajas en contenedores o entornos virtualizados, ¡ésto es para ti!
|
||||||
|
|
||||||
|
![Captura de pantalla del preajuste de Ocultar de versiones de tiempo de ejecución](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### Configuración
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/es-ES/presets/plain-text.md
Normal file
13
docs/es-ES/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Captura de pantalla del ajuste de los Símbolos de Texto Plano](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### Configuración
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/es-ES/presets/pure-preset.md
Normal file
13
docs/es-ES/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
Esta preajuste emula la apariencia y el comportamiento de [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Captura de pantalla del ajuste de Pure](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### Configuración
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -18,7 +18,7 @@ features:
|
|||||||
footer: Licence ISC | Copyright © 2019-présent Contributeurs Starship
|
footer: Licence ISC | Copyright © 2019-présent Contributeurs Starship
|
||||||
#Used for the description meta tag, for SEO
|
#Used for the description meta tag, for SEO
|
||||||
metaTitle: "Starship : Invite Multi-Shell"
|
metaTitle: "Starship : Invite Multi-Shell"
|
||||||
description: Starship est une invite minimaliste, ultra-rapide et hautement personnalisable pour n'importe quel shell ! Montre les informations dont vous avez besoin tout en restant élégante et minimaliste. Quick installation available for Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, and PowerShell.
|
description: Starship est une invite minimaliste, ultra-rapide et hautement personnalisable pour n'importe quel shell ! Montre les informations dont vous avez besoin tout en restant élégante et minimaliste. Installation rapide disponible pour Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, et PowerShell.
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="center">
|
<div class="center">
|
||||||
@ -42,8 +42,9 @@ description: Starship est une invite minimaliste, ultra-rapide et hautement pers
|
|||||||
Avec Shell:
|
Avec Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Pour mettre à jour Starship, relancez le script ci-dessus. Cela remplacera la version actuelle sans toucher à la configuration de Starship.
|
Pour mettre à jour Starship, relancez le script ci-dessus. Cela remplacera la version actuelle sans toucher à la configuration de Starship.
|
||||||
|
|
||||||
|
|
||||||
@ -168,7 +169,7 @@ description: Starship est une invite minimaliste, ultra-rapide et hautement pers
|
|||||||
|
|
||||||
#### Cmd
|
#### Cmd
|
||||||
|
|
||||||
Vous devez utiliser [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) avec Cmd. Add the following to a file `starship.lua` and place this file in Clink scripts directory:
|
Vous devez utiliser [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) avec Cmd. Ajoutez le code ci-dessous dans un fichier `starship.lua` et placez-le dans le dossier des scripts Clink:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
-- starship.lua
|
-- starship.lua
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
## Comment puis-je obtenir la complétion de commandes comme montré dans le GIF de démo?
|
## Comment puis-je obtenir la complétion de commandes comme montré dans le GIF de démo?
|
||||||
|
|
||||||
L'aide à la complétion ou autocomplétion est fournie par le shell que vous avez choisi. Dans le cas de la démo, elle a été faite avec [Fish Shell](https://fishshell.com/), qui fournit des complétions par défaut. Si vous utilisez le Shell Z (zsh), vous pouvez jeter un œil à [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions).
|
L'aide à la complétion ou autocomplétion est fournie par le shell que vous avez choisi. Dans le cas de la démo, elle a été faite avec [Fish Shell](https://fishshell.com/), qui fournit des complétions par défaut. Si vous utilisez le Z Shell (zsh), vous pouvez jeter un œil à [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions).
|
||||||
|
|
||||||
## Est-ce que l'option globale `format` et `<module>.disabled` font la même chose ?
|
## Est-ce que l'option globale `format` et `<module>.disabled` font la même chose ?
|
||||||
|
|
||||||
@ -53,12 +53,12 @@ L'invite utilisera autant de contexte que possible, mais aucun paramètre n'est
|
|||||||
Si vous obtenez une erreur du type "_version 'GLIBC_2.18' not found (required by starship)_" lors de l'utilisation de l'exécutable précompilé (par exemple sur CentOS 6 ou 7), vous pouvez utiliser un exécutable compilé avec `musl` au lieu de `glibc`:
|
Si vous obtenez une erreur du type "_version 'GLIBC_2.18' not found (required by starship)_" lors de l'utilisation de l'exécutable précompilé (par exemple sur CentOS 6 ou 7), vous pouvez utiliser un exécutable compilé avec `musl` au lieu de `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Pourquoi je vois des avertissements `Executing command "..." timed out.`?
|
## Pourquoi je vois des avertissements `Executing command "..." timed out.`?
|
||||||
|
|
||||||
Starship exécute différentes commandes pour obtenir les informations à afficher dans l'invite, par exemple la version d'un programme ou l'état actuel de git. Pour s’assurer que starship ne soit pas bloqué par l’exécution de ces commandes, nous mettons une limite de temps. Si une commande dépasse cette limite, starship va arrêter l’exécution de la commande et afficher l’avertissement ci-dessus, c’est un comportement attendu. This time limit is configurable using the [`command_timeout`key](/config/#prompt) so if you want you can increase the time limit. Vous pouvez également suivre les étapes de débogage ci-dessous pour voir quelle commande est lente et voir si vous pouvez l’optimiser. Enfin, vous pouvez définir la variable `STARSHIP_LOG` à `error` pour masquer ces avertissements.
|
Starship exécute différentes commandes pour obtenir les informations à afficher dans l'invite, par exemple la version d'un programme ou l'état actuel de git. Pour s’assurer que starship ne soit pas bloqué par l’exécution de ces commandes, nous mettons une limite de temps. Si une commande dépasse cette limite, starship va arrêter l’exécution de la commande et afficher l’avertissement ci-dessus, c’est un comportement attendu. Cette limite de temps est configurable en utilisant la [clé `command_timeout`](/config/#prompt) si vous souhaitez l’augmenter. Vous pouvez également suivre les étapes de débogage ci-dessous pour voir quelle commande est lente et voir si vous pouvez l’optimiser. Enfin, vous pouvez définir la variable `STARSHIP_LOG` à `error` pour masquer ces avertissements.
|
||||||
|
|
||||||
## Je vois des symboles que je ne comprends pas et auxquels je ne m'attendais pas, que signifient-t-ils ?
|
## Je vois des symboles que je ne comprends pas et auxquels je ne m'attendais pas, que signifient-t-ils ?
|
||||||
|
|
||||||
@ -117,6 +117,6 @@ Si Starship a été installé à l'aide d'un gestionnaire de paquets, veuillez v
|
|||||||
Si Starship a été installé en utilisant le script d'installation, la commande suivante supprimera l'exécutable :
|
Si Starship a été installé en utilisant le script d'installation, la commande suivante supprimera l'exécutable :
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Locate and delete the starship binary
|
# Trouver et supprimer le binaire starship
|
||||||
sh -c 'rm "$(command -v 'starship')"'
|
sh -c 'rm "$(command -v 'starship')"'
|
||||||
```
|
```
|
||||||
|
@ -176,7 +176,7 @@ Sélectionnez votre système d'exploitation dans la liste ci-dessous pour voir l
|
|||||||
<details>
|
<details>
|
||||||
<summary>Android</summary>
|
<summary>Android</summary>
|
||||||
|
|
||||||
Install Starship using any of the following package managers:
|
Installez Starship en utilisant l’un de ces gestionnaires de paquets:
|
||||||
|
|
||||||
| Dépôt | Instructions |
|
| Dépôt | Instructions |
|
||||||
| --------------------------------------------------------------------------------- | ---------------------- |
|
| --------------------------------------------------------------------------------- | ---------------------- |
|
||||||
@ -187,11 +187,11 @@ Install Starship using any of the following package managers:
|
|||||||
<details>
|
<details>
|
||||||
<summary>BSD</summary>
|
<summary>BSD</summary>
|
||||||
|
|
||||||
Install Starship using any of the following package managers:
|
Installez Starship en utilisant l’un de ces gestionnaires de paquets:
|
||||||
|
|
||||||
| Distribution | Dépôt | Instructions |
|
| Distribution | Dépôt | Instructions |
|
||||||
| ------------ | -------------------------------------------------------- | --------------------------------- |
|
| ------------ | -------------------------------------------------------- | --------------------------------- |
|
||||||
| **_Any_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
| **_Toutes_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
||||||
| FreeBSD | [FreshPorts](https://www.freshports.org/shells/starship) | `pkg install starship` |
|
| FreeBSD | [FreshPorts](https://www.freshports.org/shells/starship) | `pkg install starship` |
|
||||||
| NetBSD | [pkgsrc](https://pkgsrc.se/shells/starship) | `pkgin install starship` |
|
| NetBSD | [pkgsrc](https://pkgsrc.se/shells/starship) | `pkgin install starship` |
|
||||||
|
|
||||||
@ -200,42 +200,42 @@ Install Starship using any of the following package managers:
|
|||||||
<details>
|
<details>
|
||||||
<summary>Linux</summary>
|
<summary>Linux</summary>
|
||||||
|
|
||||||
Install the latest version for your system:
|
Installez la dernière version pour votre système:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Vous pouvez aussi installer Starship en utilisant l’un de ces gestionnaires de paquets:
|
||||||
|
|
||||||
| Distribution | Dépôt | Instructions |
|
| Distribution | Dépôt | Instructions |
|
||||||
| ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
| ------------------ | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
||||||
| **_Any_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
| **_Toutes_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
|
||||||
| _Any_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
|
| _Toutes_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
|
||||||
| _Any_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
|
| _Toutes_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
|
||||||
| _Any_ | [Snapcraft](https://snapcraft.io/starship) | `snap install starship` |
|
| _Toutes_ | [Snapcraft](https://snapcraft.io/starship) | `snap install starship` |
|
||||||
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
|
| Alpine Linux 3.13+ | [Paquets Alpine Linux](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
|
||||||
| Arch Linux | [Arch Linux Community](https://archlinux.org/packages/community/x86_64/starship) | `pacman -S starship` |
|
| Arch Linux | [Arch Linux Community](https://archlinux.org/packages/community/x86_64/starship) | `pacman -S starship` |
|
||||||
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
|
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
|
||||||
| Fedora 31+ | [Fedora Packages](https://src.fedoraproject.org/rpms/rust-starship) | `dnf install starship` |
|
| Fedora 31+ | [Paquets Fedora](https://src.fedoraproject.org/rpms/rust-starship) | `dnf install starship` |
|
||||||
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixos.starship` |
|
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixos.starship` |
|
||||||
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
|
| Gentoo | [Paquets Gentoo](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
|
||||||
| Manjaro | | `pacman -S starship` |
|
| Manjaro | | `pacman -S starship` |
|
||||||
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
|
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
|
||||||
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
|
| Void Linux | [Paquets Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>macOS</summary>
|
<summary>macOS</summary>
|
||||||
|
|
||||||
Install the latest version for your system:
|
Installez la dernière version pour votre système:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Vous pouvez aussi installer Starship en utilisant l’un de ces gestionnaires de paquets:
|
||||||
|
|
||||||
| Dépôt | Instructions |
|
| Dépôt | Instructions |
|
||||||
| -------------------------------------------------------- | --------------------------------------- |
|
| -------------------------------------------------------- | --------------------------------------- |
|
||||||
@ -249,7 +249,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
<details>
|
<details>
|
||||||
<summary>Windows</summary>
|
<summary>Windows</summary>
|
||||||
|
|
||||||
Install Starship using any of the following package managers:
|
Installez Starship en utilisant l’un de ces gestionnaires de paquets:
|
||||||
|
|
||||||
| Dépôt | Instructions |
|
| Dépôt | Instructions |
|
||||||
| -------------------------------------------------------------------------------- | --------------------------------------- |
|
| -------------------------------------------------------------------------------- | --------------------------------------- |
|
||||||
@ -383,13 +383,13 @@ eval "$(starship init zsh)"
|
|||||||
|
|
||||||
### Étape 3. Configurer Starship
|
### Étape 3. Configurer Starship
|
||||||
|
|
||||||
Start a new shell instance, and you should see your beautiful new shell prompt. If you're happy with the defaults, enjoy!
|
Démarrez une nouvelle instance de votre shell, et vous devriez voir votre magnifique nouveau prompt. Si vous appréciez les paramètres par défaut, profitez!
|
||||||
|
|
||||||
If you're looking to further customize Starship:
|
Si vous souhaitez personnaliser Starship:
|
||||||
|
|
||||||
- **[Configuration](https://starship.rs/config/)** – learn how to configure Starship to tweak your prompt to your liking
|
- **[Configuration](https://starship.rs/config/)** – apprenez à configurer Starship pour ajuster votre prompt à vos préférences
|
||||||
|
|
||||||
- **[Presets](https://starship.rs/presets/)** – get inspired by the pre-built configuration of others
|
- **[Préréglages](https://starship.rs/presets/)** – inspirez vous des configuration préfaites par d’autres
|
||||||
|
|
||||||
## 🤝 Contribuer
|
## 🤝 Contribuer
|
||||||
|
|
||||||
@ -403,11 +403,11 @@ Si vous êtes intéressé à aider à contribuer à Starship, veuillez jeter un
|
|||||||
|
|
||||||
Jetez un œil aux précédents projets qui ont inspiré la création de starship. 🙏
|
Jetez un œil aux précédents projets qui ont inspiré la création de starship. 🙏
|
||||||
|
|
||||||
- **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** – A ZSH prompt for astronauts.
|
- **[denysdovhan/spaceship-prompt](https://github.com/denysdovhan/spaceship-prompt)** – Un prompt ZSH pour les astronautes.
|
||||||
|
|
||||||
- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** – Cross-shell robbyrussell theme written in JavaScript.
|
- **[denysdovhan/robbyrussell-node](https://github.com/denysdovhan/robbyrussell-node)** – Thème robbyrussell multi-shell écrit en JavaScript.
|
||||||
|
|
||||||
- **[reujab/silver](https://github.com/reujab/silver)** – A cross-shell customizable powerline-like prompt with icons.
|
- **[reujab/silver](https://github.com/reujab/silver)** – Prompt multi-shell personnalisable, dans le style de powerline avec des icones.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
@ -63,7 +63,7 @@ Activez le module `programs.starship` dans votre fichier `home.nix`, et ajoutez
|
|||||||
{
|
{
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Configuration written to ~/.config/starship.toml
|
# Configuration écrite dans ~/.config/starship.toml
|
||||||
settings = {
|
settings = {
|
||||||
# add_newline = false;
|
# add_newline = false;
|
||||||
|
|
||||||
|
@ -1,539 +1,35 @@
|
|||||||
# Paramètres par défaut
|
# Préréglages
|
||||||
|
|
||||||
Voici un ensemble de configurations soumises par la communauté pour Starship. Si vous avez une configuration à partager, veuillez [proposer une PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) pour mettre à jour ce fichier! 😊
|
Voici un ensemble de préréglages pour Starship soumis par la communauté. Si vous avez un préréglage à partager, veuillez [proposer une PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) pour mettre à jour ce fichier! 😊
|
||||||
|
|
||||||
## Symboles Nerd Font
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
Cette configuration ne modifie rien sauf les symboles utilisés pour chaque module. Si les émoticônes ne sont pas votre tasse de thé, elle pourrait retenir votre attention!
|
## [Symboles Nerd Font](./nerd-font)
|
||||||
|
|
||||||
![Capture d'écran du pré-réglage Nerd Font Symbols](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### Pré-requis
|
[![Capture d'écran du pré-réglage Nerd Font Symbols](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- Une [Nerd Font](https://www.nerdfonts.com/) est installée et activée dans votre terminal (l'exemple utilise Fira Code Nerd Font)
|
## [Segments entre crochets](./bracketed-segments)
|
||||||
|
|
||||||
### Configuration
|
Ce préréglage modifie le format de tous les modules intégrés pour afficher leur segment entre crochets au lieu d'utiliser les labels par défaut de Starship ("via", "on", etc.).
|
||||||
|
|
||||||
```toml
|
[![Capture d'écran du préréglages Segments entre crochets](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
## [Texte uniquement](./plain-text)
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
[![Capture d'écran du préréglage Texte uniquement](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
## [No Runtime Versions](./no-runtimes)
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
Ce préréglage masque la version des environnements. If you work in containers or virtualized environments, this one is for you!
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
[![Capture d'écran du préréglage Cacher les versions des environnements](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
## [Pure Prompt](./pure-preset)
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
Ce préréglage émule l'apparence et le comportement de [Pure](https://github.com/sindresorhus/pure).
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
[![Capture d'écran du préréglage Pure](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Segments entre crochets
|
|
||||||
|
|
||||||
Cette configuration modifie le format de tous les modules intégrés pour afficher leur segment entre crochets au lieu d'utiliser le label par défaut de Starship ("via", "sur", etc.).
|
|
||||||
|
|
||||||
Avant:
|
|
||||||
|
|
||||||
![Capture d'écran de la configuration par défaut de Starship](/presets/bracketed-segments-before.png)
|
|
||||||
|
|
||||||
Après:
|
|
||||||
|
|
||||||
![Capture d'écran de la configuration Segments entre crochets](/presets/bracketed-segments-after.png)
|
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Texte uniquement
|
|
||||||
|
|
||||||
Cette configuration change les symboles en texte brut. Si votre terminal/police ne peuvent pas afficher les émoticônes ou les symboles NerdFonts, vous pouvez peut-être essayer cette configuration !
|
|
||||||
|
|
||||||
Avant (réglage par défaut avec la police Fixedsys):
|
|
||||||
|
|
||||||
![Capture d'écran de la configuration Starship par défaut avec la police Fixedsys](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
Après (Texte uniquement):
|
|
||||||
|
|
||||||
![Capture d'écran de la configuration Texte uniquement](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Hide Runtime Versions
|
|
||||||
|
|
||||||
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
|
||||||
|
|
||||||
![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png)
|
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/fr-FR/presets/bracketed-segments.md
Normal file
13
docs/fr-FR/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
Ce préréglage modifie le format de tous les modules intégrés pour afficher leur segment entre crochets au lieu d'utiliser les labels par défaut de Starship ("via", "on", etc.).
|
||||||
|
|
||||||
|
![Capture d'écran du préréglages Segments entre crochets](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/fr-FR/presets/nerd-font.md
Normal file
17
docs/fr-FR/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Capture d'écran du pré-réglage Nerd Font Symbols](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### Pré-requis
|
||||||
|
|
||||||
|
- Une [Nerd Font](https://www.nerdfonts.com/) est installée et activée dans votre terminal (l'exemple utilise Fira Code Nerd Font)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/fr-FR/presets/no-runtimes.md
Normal file
13
docs/fr-FR/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
Ce préréglage masque la version des environnements. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
|
![Capture d'écran du préréglage Cacher les versions des environnements](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/fr-FR/presets/plain-text.md
Normal file
13
docs/fr-FR/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Capture d'écran du préréglage Texte uniquement](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/fr-FR/presets/pure-preset.md
Normal file
13
docs/fr-FR/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
Ce préréglage émule l'apparence et le comportement de [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Capture d'écran du préréglage Pure](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: Starship merupakan sebuah prompt yang minimal, super cepat, dan san
|
|||||||
Dengan Shell:
|
Dengan Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Untuk memperbarui Starship, jalankan kembali skrip di atas. Hal ini dapat memperbarui versi yang terpasang tanpa mengubah konfigurasi Starship.
|
Untuk memperbarui Starship, jalankan kembali skrip di atas. Hal ini dapat memperbarui versi yang terpasang tanpa mengubah konfigurasi Starship.
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required".
|
|||||||
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Why do I see `Executing command "..." timed out.` warnings?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
@ -203,7 +203,7 @@ Install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
Berikut ini adalah koleksi konfigurasi prasetel dari kumpulan komunita Starship. Jika kamu punya konfigurasi prasetel untuk dibagikan, silakan [kirim PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) untuk memperbarui file ini! 😊
|
Berikut ini adalah koleksi konfigurasi prasetel dari kumpulan komunita Starship. Jika kamu punya konfigurasi prasetel untuk dibagikan, silakan [kirim PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) untuk memperbarui file ini! 😊
|
||||||
|
|
||||||
## Simbol Nerd Font
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
Konfigurasi prasetel berikut tidak mengubah apapun selain simbol yang digunakan untuk masing-masing modulnya. Kalau kamu enggak suka dengan emoji, hal ini mungkin bisa menarik perhatianmu!
|
## [Simbol Nerd Font](./nerd-font)
|
||||||
|
|
||||||
![Tangkapan Layar dari preset simbol Nerd Font](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### Prasyarat
|
[![Tangkapan Layar dari preset simbol Nerd Font](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- Nerd Font yang terpasang dan telah diaktifkan di dalam terminal (contoh berikut menggunakan Nerd Font Fira Code)
|
## [Segmen Berkurung](./bracketed-segments)
|
||||||
|
|
||||||
### Konfigurasi
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Segmen Berkurung
|
|
||||||
|
|
||||||
Konfigurasi prasetel berikut mengubah format dari seluruh modul bawaan untuk menampilkan segmennya di dalam tanda kurung daripada menggunakan susunan kata bawaan Starship ("via", "on", dll.).
|
Konfigurasi prasetel berikut mengubah format dari seluruh modul bawaan untuk menampilkan segmennya di dalam tanda kurung daripada menggunakan susunan kata bawaan Starship ("via", "on", dll.).
|
||||||
|
|
||||||
Sebelum:
|
[![Tangkapan Layar dari Segmen Berkurung](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![Tangkapan Layar dari konfigurasi bawaan Starship](/presets/bracketed-segments-before.png)
|
## [Simbol Teks Sederhana](./plain-text)
|
||||||
|
|
||||||
Sesudah:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![Tangkapan Layar dari Segmen Berkurung](/presets/bracketed-segments-after.png)
|
[![Tangkapan Layar dari preset Simbol Teks Sederhana](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### Konfigurasi
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Simbol Teks Sederhana
|
|
||||||
|
|
||||||
Konfigurasi prasetel berikut mengubah simbol menjadi teks sederhana. Jika terminal atau font kamu tidak mampu me-render Nerd Font atau emoji, mungkin kamu bisa mencoba konfigurasi prasetel berikut!
|
|
||||||
|
|
||||||
Sebelum (aturan bawaan dengan menggunakan font Fixedys):
|
|
||||||
|
|
||||||
![Tangkapan Layar dari konfigurasi bawaan Starship dengan Font Fixedsys](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
Sesudah (Simbol Teks Sederhana):
|
|
||||||
|
|
||||||
![Tangkapan Layar dari preset Simbol Teks Sederhana](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### Konfigurasi
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Penyembunyian Versi Runtime
|
|
||||||
|
|
||||||
Konfigurasi prasetel berikut menyembunyikan versi language runtimes. Jika kamu bekerja di dalam kontainer atau environments virtual, preset berikut cocok untukmu!
|
Konfigurasi prasetel berikut menyembunyikan versi language runtimes. Jika kamu bekerja di dalam kontainer atau environments virtual, preset berikut cocok untukmu!
|
||||||
|
|
||||||
![Tangkapan Layar dari preset Penyembunyian Versi Runtime](/presets/hide-runtime-versions.png)
|
[![Tangkapan Layar dari preset Penyembunyian Versi Runtime](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### Konfigurasi
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### Konfigurasi
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/id-ID/presets/bracketed-segments.md
Normal file
13
docs/id-ID/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
Konfigurasi prasetel berikut mengubah format dari seluruh modul bawaan untuk menampilkan segmennya di dalam tanda kurung daripada menggunakan susunan kata bawaan Starship ("via", "on", dll.).
|
||||||
|
|
||||||
|
![Tangkapan Layar dari Segmen Berkurung](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### Konfigurasi
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/id-ID/presets/nerd-font.md
Normal file
17
docs/id-ID/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Tangkapan Layar dari preset simbol Nerd Font](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### Prasyarat
|
||||||
|
|
||||||
|
- Nerd Font yang terpasang dan telah diaktifkan di dalam terminal (contoh berikut menggunakan Nerd Font Fira Code)
|
||||||
|
|
||||||
|
### Konfigurasi
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/id-ID/presets/no-runtimes.md
Normal file
13
docs/id-ID/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
Konfigurasi prasetel berikut menyembunyikan versi language runtimes. Jika kamu bekerja di dalam kontainer atau environments virtual, preset berikut cocok untukmu!
|
||||||
|
|
||||||
|
![Tangkapan Layar dari preset Penyembunyian Versi Runtime](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### Konfigurasi
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/id-ID/presets/plain-text.md
Normal file
13
docs/id-ID/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Tangkapan Layar dari preset Simbol Teks Sederhana](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### Konfigurasi
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/id-ID/presets/pure-preset.md
Normal file
13
docs/id-ID/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Screenshot of Pure preset](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### Konfigurasi
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: Starship è il prompt minimalista, super veloce ed estremamente per
|
|||||||
Con Shell:
|
Con Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Per aggiornare Starship stesso, riavviare lo script sopra. Sostituirà la versione corrente senza toccare la configurazione di Starship.
|
Per aggiornare Starship stesso, riavviare lo script sopra. Sostituirà la versione corrente senza toccare la configurazione di Starship.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1404,10 +1404,16 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
|
|||||||
|
|
||||||
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
|
||||||
|
The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
### Opzioni
|
### Opzioni
|
||||||
|
|
||||||
| Opzione | Default | Descrizione |
|
| Opzione | Default | Descrizione |
|
||||||
| ------------------- | ----------------------------------------------- | ----------------------------------- |
|
| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
||||||
| `conflicted` | `"="` | This branch has merge conflicts. |
|
| `conflicted` | `"="` | This branch has merge conflicts. |
|
||||||
| `ahead` | `"⇡"` | The format of `ahead` |
|
| `ahead` | `"⇡"` | The format of `ahead` |
|
||||||
@ -1423,6 +1429,7 @@ The `git_status` module shows symbols representing the state of the repo in your
|
|||||||
| `style` | `"bold red"` | Lo stile per il modulo. |
|
| `style` | `"bold red"` | Lo stile per il modulo. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
|
| `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1486,6 +1493,15 @@ diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|||||||
behind = "⇣${count}"
|
behind = "⇣${count}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Use Windows Starship executable on Windows paths in WSL
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.exe'
|
||||||
|
```
|
||||||
|
|
||||||
## Go
|
## Go
|
||||||
|
|
||||||
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
||||||
@ -2269,8 +2285,8 @@ The `package` module is shown when the current directory is the repository for a
|
|||||||
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
|
| `symbol` | `"📦 "` | The symbol used before displaying the version the package. |
|
||||||
| `version_format` | `"v${raw}"` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minore`, & `patch` |
|
| `version_format` | `"v${raw}"` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minore`, & `patch` |
|
||||||
| `style` | `"bold 208"` | Lo stile per il modulo. |
|
| `style` | `"bold 208"` | Lo stile per il modulo. |
|
||||||
| `display_private` | `false` | Enable displaying version for packages marked as private. |
|
| `display_private` | `false` | Abilita la visualizzazione della versione per i pacchetti contrassegnati come privati. |
|
||||||
| `disabled` | `false` | Disables the `package` module. |
|
| `disabled` | `false` | Disabilita il modulo `package`. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -3114,7 +3130,7 @@ If `use_12hr` is `true`, then `time_format` defaults to `"%r"`. Otherwise, it de
|
|||||||
|
|
||||||
| Variable | Esempio | Descrizione |
|
| Variable | Esempio | Descrizione |
|
||||||
| --------- | ---------- | ----------------------------------- |
|
| --------- | ---------- | ----------------------------------- |
|
||||||
| time | `13:08:10` | The current time. |
|
| ora | `13:08:10` | The current time. |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
@ -3228,12 +3244,12 @@ The `vlang` module shows you your currently installed version of [V](https://vla
|
|||||||
| ------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
| ------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
|
| `format` | `"via [$symbol($version )]($style)"` | The format for the module. |
|
||||||
| `version_format` | `"v${raw}"` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minore`, & `patch` |
|
| `version_format` | `"v${raw}"` | Il formato della versione. Le variabili disponibili sono `raw`, `major`, `minore`, & `patch` |
|
||||||
| `symbol` | `"V "` | A format string representing the symbol of V |
|
| `symbol` | `"V "` | Una stringa di formato che rappresenta il simbolo di V |
|
||||||
| `detect_extensions` | `["v"]` | Quali estensioni dovrebbero attivare questo modulo. |
|
| `detect_extensions` | `["v"]` | Quali estensioni dovrebbero attivare questo modulo. |
|
||||||
| `detect_files` | `["v.mod", "vpkg.json", ".vpkg-lock.json" ]` | Quali nomi di file dovrebbero attivare questo modulo. |
|
| `detect_files` | `["v.mod", "vpkg.json", ".vpkg-lock.json" ]` | Quali nomi di file dovrebbero attivare questo modulo. |
|
||||||
| `detect_folders` | `[]` | Quali cartelle dovrebbero attivare questo modulo. |
|
| `detect_folders` | `[]` | Quali cartelle dovrebbero attivare questo modulo. |
|
||||||
| `style` | `"blu grassetto"` | Lo stile per il modulo. |
|
| `style` | `"blu grassetto"` | Lo stile per il modulo. |
|
||||||
| `disabled` | `false` | Disables the `vlang` module. |
|
| `disabled` | `false` | Disabilita il modulo `vlang`. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -3366,7 +3382,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
| `command` | `""` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `""` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
|
| `when` | | A shell command used as a condition to show the module. The module will be shown if the command returns a `0` status code. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `description` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
|
| `descrizione` | `"<custom module>"` | The description of the module that is shown when running `starship explain`. |
|
||||||
| `files` | `[]` | The files that will be searched in the working directory for a match. |
|
| `files` | `[]` | The files that will be searched in the working directory for a match. |
|
||||||
| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
|
| `directories` | `[]` | The directories that will be searched in the working directory for a match. |
|
||||||
| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
| `extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
||||||
|
@ -53,7 +53,7 @@ Il prompt userà tanto contesto quanto è fornito, ma nessun flag è "richiesto"
|
|||||||
Se si ottiene un errore come "_versione 'GLIBC_2. 8' non trovato (richiesta da Starship)_" quando si utilizza il binario precostruito (per esempio, su CentOS 6 o 7), puoi usare un binario compilato con `musl` invece di `glibc`:
|
Se si ottiene un errore come "_versione 'GLIBC_2. 8' non trovato (richiesta da Starship)_" quando si utilizza il binario precostruito (per esempio, su CentOS 6 o 7), puoi usare un binario compilato con `musl` invece di `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Why do I see `Executing command "..." timed out.` warnings?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
@ -203,7 +203,7 @@ Install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Installazione
|
### Installazione
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
Ecco una raccolta dei preset di configurazione inviati dalla community per Starship. Se hai un preset da condividere, per favore [ invia un PR ](https://github.com/starship/starship/edit/master/docs/presets/README.md) aggiornando questo file! 😊
|
Ecco una raccolta dei preset di configurazione inviati dalla community per Starship. Se hai un preset da condividere, per favore [ invia un PR ](https://github.com/starship/starship/edit/master/docs/presets/README.md) aggiornando questo file! 😊
|
||||||
|
|
||||||
## Nerd Font Symbols
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
Questo preset non cambia nulla tranne i simboli utilizzati per ogni modulo. Se gli emoji non fanno per te, questo potrebbe attirare la tua attenzione!
|
## [Nerd Font Symbols](./nerd-font)
|
||||||
|
|
||||||
![Screenshot dei preset di Nerd Font Symbols](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### Prerequisiti
|
[![Screenshot dei preset di Nerd Font Symbols](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- Un [ Nerd Font ](https://www.nerdfonts.com/) installato e abilitato nel tuo terminale (l'esempio usa Fira Code Nerd Font)
|
## [Bracketed Segments](./bracketed-segments)
|
||||||
|
|
||||||
### Configurazione
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Bracketed Segments
|
|
||||||
|
|
||||||
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
Before:
|
[![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![Screenshot of default Starship configuration](/presets/bracketed-segments-before.png)
|
## [Plain Text Symbols](./plain-text)
|
||||||
|
|
||||||
After:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![Screenshot of Bracketed Segments preset](/presets/bracketed-segments-after.png)
|
[![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### Configurazione
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Plain Text Symbols
|
|
||||||
|
|
||||||
This preset changes the symbols into plain text. If your terminal/font could not render the NerdFonts/emojis, maybe you could try this preset!
|
|
||||||
|
|
||||||
Before (default setting with Fixedsys font):
|
|
||||||
|
|
||||||
![Screenshot of default Starship configuration with Fixedsys font](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
After (Plain Text Symbols):
|
|
||||||
|
|
||||||
![Screenshot of Plain Text Symbols preset](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### Configurazione
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Hide Runtime Versions
|
|
||||||
|
|
||||||
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png)
|
[![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### Configurazione
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### Configurazione
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/it-IT/presets/bracketed-segments.md
Normal file
13
docs/it-IT/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
|
![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### Configurazione
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/it-IT/presets/nerd-font.md
Normal file
17
docs/it-IT/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Screenshot dei preset di Nerd Font Symbols](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### Prerequisiti
|
||||||
|
|
||||||
|
- Un [ Nerd Font ](https://www.nerdfonts.com/) installato e abilitato nel tuo terminale (l'esempio usa Fira Code Nerd Font)
|
||||||
|
|
||||||
|
### Configurazione
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/it-IT/presets/no-runtimes.md
Normal file
13
docs/it-IT/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
|
![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### Configurazione
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/it-IT/presets/plain-text.md
Normal file
13
docs/it-IT/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### Configurazione
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/it-IT/presets/pure-preset.md
Normal file
13
docs/it-IT/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Screenshot of Pure preset](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### Configurazione
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: Starship はミニマルで、非常に高速で、カスタマイ
|
|||||||
Shellを利用する
|
Shellを利用する
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Starship自体を更新するには、上記のスクリプトを再度実行してください。 最新のバージョンに置き換わり、設定ファイルには変更を加えません。
|
Starship自体を更新するには、上記のスクリプトを再度実行してください。 最新のバージョンに置き換わり、設定ファイルには変更を加えません。
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,7 @@ starship prompt --help
|
|||||||
CentOS6や7などで事前にビルドされたバイナリを使用していて、"_version 'GLIBC_2.18' not found (required by starship)_" のようなエラーが出た場合、`glibc`の替わりに `musl`でコンパイルされたバイナリを使用できます。
|
CentOS6や7などで事前にビルドされたバイナリを使用していて、"_version 'GLIBC_2.18' not found (required by starship)_" のようなエラーが出た場合、`glibc`の替わりに `musl`でコンパイルされたバイナリを使用できます。
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Why do I see `Executing command "..." timed out.` warnings?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
@ -203,7 +203,7 @@ Install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### インストール
|
### インストール
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
以下は、Starship用にコミュニティに提供された構成プリセットのコレクションです。 共有するプリセットがある場合は、このファイルを更新して[PR](https://github.com/starship/starship/edit/master/docs/presets/README.md)を送信してください! 😊
|
以下は、Starship用にコミュニティに提供された構成プリセットのコレクションです。 共有するプリセットがある場合は、このファイルを更新して[PR](https://github.com/starship/starship/edit/master/docs/presets/README.md)を送信してください! 😊
|
||||||
|
|
||||||
## Nerd Font Symbols
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
このプリセットは、各モジュールに使用されるシンボル以外は何も変更しません。 絵文字が気に食わない場合、これはあなたの目を引くかもしれません!
|
## [Nerd Font Symbols](./nerd-font)
|
||||||
|
|
||||||
![Nerd Font Symbolsプリセットのスクリーンショット](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### 必要なもの
|
[![Nerd Font Symbolsプリセットのスクリーンショット](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- 端末にインストールされ、有効になっている[Nerd Font](https://www.nerdfonts.com/)(例ではFira Code Nerd Fontを使用)
|
## [Bracketed Segments](./bracketed-segments)
|
||||||
|
|
||||||
### 設定
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Bracketed Segments
|
|
||||||
|
|
||||||
このプリセットは付属のモジュール全てのフォーマットを変更し、デフォルトのStarshipの表示("via", "on", etc.)から、それぞれの情報を括弧で区分けするように変更します。
|
このプリセットは付属のモジュール全てのフォーマットを変更し、デフォルトのStarshipの表示("via", "on", etc.)から、それぞれの情報を括弧で区分けするように変更します。
|
||||||
|
|
||||||
変更前:
|
[![Bracketed Segmentsプリセットのスクリーンショット](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![Starshipのデフォルト設定のスクリーンショット](/presets/bracketed-segments-before.png)
|
## [Plain Text Symbols](./plain-text)
|
||||||
|
|
||||||
変更後:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![Bracketed Segmentsプリセットのスクリーンショット](/presets/bracketed-segments-after.png)
|
[![Plain Text Symbolsプリセットのスクリーンショット](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### 設定
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Plain Text Symbols
|
|
||||||
|
|
||||||
このプリセットは記号をプレーンテキストに変更します。 あなたのターミナルのフォントでNerdFontsまたは絵文字が使えない場合は、これを試してみるといいかもしれません!
|
|
||||||
|
|
||||||
変更前 (デフォルトの設定でFixedsysフォント):
|
|
||||||
|
|
||||||
![Fixedsysフォントを用いたStarshipのデフォルト設定のスクリーンショット](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
変更後 (プレーンテキストの記号):
|
|
||||||
|
|
||||||
![Plain Text Symbolsプリセットのスクリーンショット](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### 設定
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Hide Runtime Versions
|
|
||||||
|
|
||||||
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png)
|
[![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### 設定
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### 設定
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/ja-JP/presets/bracketed-segments.md
Normal file
13
docs/ja-JP/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
このプリセットは付属のモジュール全てのフォーマットを変更し、デフォルトのStarshipの表示("via", "on", etc.)から、それぞれの情報を括弧で区分けするように変更します。
|
||||||
|
|
||||||
|
![Bracketed Segmentsプリセットのスクリーンショット](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### 設定
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/ja-JP/presets/nerd-font.md
Normal file
17
docs/ja-JP/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Nerd Font Symbolsプリセットのスクリーンショット](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### 必要なもの
|
||||||
|
|
||||||
|
- 端末にインストールされ、有効になっている[Nerd Font](https://www.nerdfonts.com/)(例ではFira Code Nerd Fontを使用)
|
||||||
|
|
||||||
|
### 設定
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/ja-JP/presets/no-runtimes.md
Normal file
13
docs/ja-JP/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
|
![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### 設定
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/ja-JP/presets/plain-text.md
Normal file
13
docs/ja-JP/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Plain Text Symbolsプリセットのスクリーンショット](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### 設定
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/ja-JP/presets/pure-preset.md
Normal file
13
docs/ja-JP/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Screenshot of Pure preset](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### 設定
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
|
|||||||
With Shell:
|
With Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Starship을 업데이트하고 싶은 경우에도 위의 스크립트를 실행시키면 됩니다. Starship의 설정은 변경되지 않고 버전만 최근 버전으로 대체될 것입니다.
|
Starship을 업데이트하고 싶은 경우에도 위의 스크립트를 실행시키면 됩니다. Starship의 설정은 변경되지 않고 버전만 최근 버전으로 대체될 것입니다.
|
||||||
|
|
||||||
|
|
||||||
|
@ -1404,10 +1404,16 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
|
|||||||
|
|
||||||
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
The `git_status` module shows symbols representing the state of the repo in your current directory.
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
|
||||||
|
The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment. You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ----------------------------------------------- | ----------------------------------- |
|
| ------------------- | ----------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
| `format` | `'([\[$all_status$ahead_behind\]]($style) )'` | The default format for `git_status` |
|
||||||
| `conflicted` | `"="` | This branch has merge conflicts. |
|
| `conflicted` | `"="` | This branch has merge conflicts. |
|
||||||
| `ahead` | `"⇡"` | The format of `ahead` |
|
| `ahead` | `"⇡"` | The format of `ahead` |
|
||||||
@ -1423,6 +1429,7 @@ The `git_status` module shows symbols representing the state of the repo in your
|
|||||||
| `style` | `"bold red"` | The style for the module. |
|
| `style` | `"bold red"` | The style for the module. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
|
| `windows_starship` | | Use this (Linux) path to a Windows Starship executable to render `git_status` when on Windows paths in WSL. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@ -1486,6 +1493,15 @@ diverged = "⇕⇡${ahead_count}⇣${behind_count}"
|
|||||||
behind = "⇣${count}"
|
behind = "⇣${count}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Use Windows Starship executable on Windows paths in WSL
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
windows_starship = '/mnt/c/Users/username/scoop/apps/starship/current/starship.exe'
|
||||||
|
```
|
||||||
|
|
||||||
## Go
|
## Go
|
||||||
|
|
||||||
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
The `golang` module shows the currently installed version of [Go](https://golang.org/). By default the module will be shown if any of the following conditions are met:
|
||||||
|
@ -53,7 +53,7 @@ The prompt will use as much context as is provided, but no flags are "required".
|
|||||||
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --platform unknown-linux-musl
|
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
|
||||||
```
|
```
|
||||||
|
|
||||||
## Why do I see `Executing command "..." timed out.` warnings?
|
## Why do I see `Executing command "..." timed out.` warnings?
|
||||||
|
@ -203,7 +203,7 @@ Install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
@ -232,7 +232,7 @@ Alternatively, install Starship using any of the following package managers:
|
|||||||
Install the latest version for your system:
|
Install the latest version for your system:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, install Starship using any of the following package managers:
|
Alternatively, install Starship using any of the following package managers:
|
||||||
|
@ -32,7 +32,7 @@ pkg install getconf
|
|||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --bin-dir /data/data/com.termux/files/usr/bin
|
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
## [Funtoo Linux](https://www.funtoo.org/Welcome)
|
||||||
|
@ -2,538 +2,34 @@
|
|||||||
|
|
||||||
Here is a collection of community-submitted configuration presets for Starship. If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊
|
Here is a collection of community-submitted configuration presets for Starship. If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊
|
||||||
|
|
||||||
## Nerd Font Symbols
|
To get details on how to use a preset, simply click on the image.
|
||||||
|
|
||||||
This preset doesn't change anything except for the symbols used for each module. If emojis aren't your thing, this might catch your eye!
|
## [Nerd Font Symbols](./nerd-font)
|
||||||
|
|
||||||
![Screenshot of Nerd Font Symbols preset](/presets/nerd-font-symbols.png)
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
### 준비 사항
|
[![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png "Click to view Nerd Font Symbols preset")](./nerd-font)
|
||||||
|
|
||||||
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
## [Bracketed Segments](./bracketed-segments)
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " "
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[shlvl]
|
|
||||||
symbol = " "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "ﯣ "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Bracketed Segments
|
|
||||||
|
|
||||||
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
Before:
|
[![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png "Click to view Bracketed Segments preset")](./bracketed-segments)
|
||||||
|
|
||||||
![Screenshot of default Starship configuration](/presets/bracketed-segments-before.png)
|
## [Plain Text Symbols](./plain-text)
|
||||||
|
|
||||||
After:
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
![Screenshot of Bracketed Segments preset](/presets/bracketed-segments-after.png)
|
[![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png "Click to view Plain Text Symbols preset")](./plain-text)
|
||||||
|
|
||||||
### Configuration
|
## [No Runtime Versions](./no-runtimes)
|
||||||
|
|
||||||
```toml
|
|
||||||
[aws]
|
|
||||||
format = '\[[$symbol($profile)(\($region\))(\[$duration\])]($style)\]'
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = '\[[⏱ $duration]($style)\]'
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
format = '\[[$symbol$environment]($style)\]'
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
format = '\[[$symbol$context]($style)\]'
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = '\[[$symbol($version)(🎯 $tfm)]($style)\]'
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = '\[[$symbol($version \(OTP $otp_version\))]($style)\]'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[gcloud]
|
|
||||||
format = '\[[$symbol$account(@$domain)(\($region\))]($style)\]'
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = '([\[$all_status$ahead_behind\]]($style))'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
format = '\[[$symbol$branch]($style)\]'
|
|
||||||
|
|
||||||
[java]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[kubernetes]
|
|
||||||
format = '\[[$symbol$context( \($namespace\))]($style)\]'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
format = '\[$symbol[$ram( | $swap)]($style)\]'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
format = '\[[$symbol$state( \($name\))]($style)\]'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = '\[[$symbol($version)(\($switch_indicator$switch_name\))]($style)\]'
|
|
||||||
|
|
||||||
[openstack]
|
|
||||||
format = '\[[$symbol$cloud(\($project\))]($style)\]'
|
|
||||||
|
|
||||||
[package]
|
|
||||||
format = '\[[$symbol$version]($style)\]'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = '\[[$symbol$stack]($style)\]'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
format = '\[[as $symbol]\]'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[terraform]
|
|
||||||
format = '\[[$symbol$workspace]($style)\]'
|
|
||||||
|
|
||||||
[time]
|
|
||||||
format = '\[[$time]($style)\]'
|
|
||||||
|
|
||||||
[username]
|
|
||||||
format = '\[[$user]($style)\]'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = '\[[$symbol($version)]($style)\]'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Plain Text Symbols
|
|
||||||
|
|
||||||
This preset changes the symbols into plain text. If your terminal/font could not render the NerdFonts/emojis, maybe you could try this preset!
|
|
||||||
|
|
||||||
Before (default setting with Fixedsys font):
|
|
||||||
|
|
||||||
![Screenshot of default Starship configuration with Fixedsys font](/presets/plain-text-symbols-before.png)
|
|
||||||
|
|
||||||
After (Plain Text Symbols):
|
|
||||||
|
|
||||||
![Screenshot of Plain Text Symbols preset](/presets/plain-text-symbols-after.png)
|
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[character]
|
|
||||||
success_symbol = "[>](bold green)"
|
|
||||||
error_symbol = "[x](bold red)"
|
|
||||||
vicmd_symbol = "[<](bold green)"
|
|
||||||
|
|
||||||
[git_commit]
|
|
||||||
tag_symbol = " tag "
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
ahead = ">"
|
|
||||||
behind = "<"
|
|
||||||
diverged = "<>"
|
|
||||||
renamed = "r"
|
|
||||||
deleted = "x"
|
|
||||||
|
|
||||||
[aws]
|
|
||||||
symbol = "aws "
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
symbol = "cobol "
|
|
||||||
|
|
||||||
[conda]
|
|
||||||
symbol = "conda "
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
symbol = "cr "
|
|
||||||
|
|
||||||
[cmake]
|
|
||||||
symbol = "cmake "
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
symbol = "dart "
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
symbol = "deno "
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
symbol = ".NET "
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
read_only = " ro"
|
|
||||||
|
|
||||||
[docker_context]
|
|
||||||
symbol = "docker "
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
symbol = "exs "
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
symbol = "elm "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = "git "
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
symbol = "go "
|
|
||||||
|
|
||||||
[hg_branch]
|
|
||||||
symbol = "hg "
|
|
||||||
|
|
||||||
[java]
|
|
||||||
symbol = "java "
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
symbol = "jl "
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
symbol = "kt "
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = "nodejs "
|
|
||||||
|
|
||||||
[memory_usage]
|
|
||||||
symbol = "memory "
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
symbol = "nim "
|
|
||||||
|
|
||||||
[nix_shell]
|
|
||||||
symbol = "nix "
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
symbol = "ml "
|
|
||||||
|
|
||||||
[package]
|
|
||||||
symbol = "pkg "
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
symbol = "pl "
|
|
||||||
|
|
||||||
[php]
|
|
||||||
symbol = "php "
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
symbol = "pulumi "
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
symbol = "purs "
|
|
||||||
|
|
||||||
[python]
|
|
||||||
symbol = "py "
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
symbol = "rb "
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
symbol = "rs "
|
|
||||||
|
|
||||||
[scala]
|
|
||||||
symbol = "scala "
|
|
||||||
|
|
||||||
[sudo]
|
|
||||||
symbol = "sudo "
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
symbol = "swift "
|
|
||||||
```
|
|
||||||
|
|
||||||
## Hide Runtime Versions
|
|
||||||
|
|
||||||
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
![Screenshot of Hide Runtime Versions preset](/presets/hide-runtime-versions.png)
|
[![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png "Click to view No Runtime Versions preset")](./no-runtimes)
|
||||||
|
|
||||||
### Configuration
|
## [Pure Prompt](./pure-preset)
|
||||||
|
|
||||||
```toml
|
|
||||||
[cmake]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[cobol]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[crystal]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dart]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[deno]
|
|
||||||
format = "via [$symbol]($style)"
|
|
||||||
|
|
||||||
[dotnet]
|
|
||||||
format = "[$symbol(🎯 $tfm )]($style)"
|
|
||||||
|
|
||||||
[elixir]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[elm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[erlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[golang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[helm]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[julia]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[kotlin]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nim]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ocaml]
|
|
||||||
format = 'via [$symbol(\($switch_indicator$switch_name\) )]($style)'
|
|
||||||
|
|
||||||
[perl]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[php]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[pulumi]
|
|
||||||
format = 'via [$symbol$stack]($style)'
|
|
||||||
|
|
||||||
[purescript]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[red]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[ruby]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[rust]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[swift]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vagrant]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[vlang]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
|
|
||||||
[zig]
|
|
||||||
format = 'via [$symbol]($style)'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Pure
|
|
||||||
|
|
||||||
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
![Screenshot of Pure preset](/presets/pure-prompt.png)
|
[![Screenshot of Pure preset](/presets/img/pure-preset.png "Click to view Pure Prompt preset")](./pure-preset)
|
||||||
|
|
||||||
### Configuration
|
|
||||||
|
|
||||||
```toml
|
|
||||||
format = """
|
|
||||||
$username\
|
|
||||||
$hostname\
|
|
||||||
$directory\
|
|
||||||
$git_branch\
|
|
||||||
$git_state\
|
|
||||||
$git_status\
|
|
||||||
$cmd_duration\
|
|
||||||
$line_break\
|
|
||||||
$python\
|
|
||||||
$character"""
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "blue"
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = "[❯](purple)"
|
|
||||||
error_symbol = "[❯](red)"
|
|
||||||
vicmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$branch]($style)"
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
|
|
||||||
style = "cyan"
|
|
||||||
conflicted = ""
|
|
||||||
untracked = ""
|
|
||||||
modified = ""
|
|
||||||
staged = ""
|
|
||||||
renamed = ""
|
|
||||||
deleted = ""
|
|
||||||
stashed = "≡"
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
||||||
style = "bright-black"
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
format = "[$duration]($style) "
|
|
||||||
style = "yellow"
|
|
||||||
|
|
||||||
[python]
|
|
||||||
format = "[$virtualenv]($style) "
|
|
||||||
style = "bright-black"
|
|
||||||
```
|
|
||||||
|
13
docs/ko-KR/presets/bracketed-segments.md
Normal file
13
docs/ko-KR/presets/bracketed-segments.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#bracketed-segments)
|
||||||
|
|
||||||
|
# Bracketed Segments Preset
|
||||||
|
|
||||||
|
This preset changes the format of all the built-in modules to show their segment in brackets instead of using the default Starship wording ("via", "on", etc.).
|
||||||
|
|
||||||
|
![Screenshot of Bracketed Segments preset](/presets/img/bracketed-segments.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/bracketed-segments.toml
|
17
docs/ko-KR/presets/nerd-font.md
Normal file
17
docs/ko-KR/presets/nerd-font.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[Return to Presets](/presets/#nerd-font-symbols)
|
||||||
|
|
||||||
|
# Nerd Font Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module to use Nerd Font symbols.
|
||||||
|
|
||||||
|
![Screenshot of Nerd Font Symbols preset](/presets/img/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### 준비 사항
|
||||||
|
|
||||||
|
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
13
docs/ko-KR/presets/no-runtimes.md
Normal file
13
docs/ko-KR/presets/no-runtimes.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#no-runtime-versions)
|
||||||
|
|
||||||
|
# No Runtime Versions Preset
|
||||||
|
|
||||||
|
This preset hides the version of language runtimes. If you work in containers or virtualized environments, this one is for you!
|
||||||
|
|
||||||
|
![Screenshot of Hide Runtime Versions preset](/presets/img/no-runtime-versions.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/no-runtime-versions.toml
|
13
docs/ko-KR/presets/plain-text.md
Normal file
13
docs/ko-KR/presets/plain-text.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#plain-text-symbols)
|
||||||
|
|
||||||
|
## Plain Text Symbols Preset
|
||||||
|
|
||||||
|
This preset changes the symbols for each module into plain text. Great if you don't have access to Unicode.
|
||||||
|
|
||||||
|
![Screenshot of Plain Text Symbols preset](/presets/img/plain-text-symbols.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/plain-text-symbols.toml
|
13
docs/ko-KR/presets/pure-preset.md
Normal file
13
docs/ko-KR/presets/pure-preset.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[Return to Presets](/presets/#pure)
|
||||||
|
|
||||||
|
# Pure Preset
|
||||||
|
|
||||||
|
This preset emulates the look and behavior of [Pure](https://github.com/sindresorhus/pure).
|
||||||
|
|
||||||
|
![Screenshot of Pure preset](/presets/img/pure-preset.png)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
[Click to download TOML](/presets/toml/pure-preset.toml)
|
||||||
|
|
||||||
|
<<< @/.vuepress/public/presets/toml/pure-preset.toml
|
@ -42,8 +42,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
|
|||||||
With Shell:
|
With Shell:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
|
curl -sS https://starship.rs/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Om Starship zelf bij te werken, voer je het bovenstaande script opnieuw uit. Deze vervangt de huidige versie zonder de configuratie van Starship aan te passen.
|
Om Starship zelf bij te werken, voer je het bovenstaande script opnieuw uit. Deze vervangt de huidige versie zonder de configuratie van Starship aan te passen.
|
||||||
|
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user