summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-11-28 23:45:59 -0500
committerGitHub <noreply@github.com>2020-11-28 23:45:59 -0500
commitea6f5e429cb83c7cf690493c9c42901ea63b5838 (patch)
treee1b6a14e2c95694b15a42c253d969c4f934f9828
parent3dfe4ca932b80a54f1ab809d106558b003e61e0d (diff)
docs(i18n): New Crowdin updates (#1788)
-rw-r--r--docs/de-DE/README.md4
-rw-r--r--docs/de-DE/config/README.md582
-rw-r--r--docs/de-DE/guide/README.md2
-rw-r--r--docs/de-DE/presets/README.md2
-rw-r--r--docs/es-ES/README.md8
-rw-r--r--docs/es-ES/advanced-config/README.md32
-rw-r--r--docs/es-ES/config/README.md1444
-rw-r--r--docs/es-ES/faq/README.md40
-rw-r--r--docs/es-ES/guide/README.md28
-rw-r--r--docs/es-ES/migrating-to-0.45.0/README.md146
-rw-r--r--docs/es-ES/presets/README.md6
-rw-r--r--docs/fr-FR/README.md4
-rw-r--r--docs/fr-FR/config/README.md580
-rw-r--r--docs/fr-FR/guide/README.md2
-rw-r--r--docs/fr-FR/migrating-to-0.45.0/README.md2
-rw-r--r--docs/fr-FR/presets/README.md2
-rw-r--r--docs/ja-JP/README.md4
-rw-r--r--docs/ja-JP/config/README.md607
-rw-r--r--docs/ja-JP/guide/README.md2
-rw-r--r--docs/ja-JP/presets/README.md2
-rw-r--r--docs/pt-BR/README.md4
-rw-r--r--docs/pt-BR/config/README.md368
-rw-r--r--docs/pt-BR/guide/README.md2
-rw-r--r--docs/pt-BR/presets/README.md2
-rw-r--r--docs/pt-PT/README.md4
-rw-r--r--docs/pt-PT/config/README.md364
-rw-r--r--docs/pt-PT/guide/README.md2
-rw-r--r--docs/pt-PT/presets/README.md2
-rw-r--r--docs/ru-RU/README.md10
-rw-r--r--docs/ru-RU/advanced-config/README.md6
-rw-r--r--docs/ru-RU/config/README.md882
-rw-r--r--docs/ru-RU/guide/README.md6
-rw-r--r--docs/ru-RU/presets/README.md4
-rw-r--r--docs/zh-CN/README.md6
-rw-r--r--docs/zh-CN/config/README.md632
-rw-r--r--docs/zh-CN/guide/README.md34
-rw-r--r--docs/zh-CN/presets/README.md2
-rw-r--r--docs/zh-TW/README.md4
-rw-r--r--docs/zh-TW/config/README.md564
-rw-r--r--docs/zh-TW/guide/README.md2
-rw-r--r--docs/zh-TW/presets/README.md2
41 files changed, 3578 insertions, 2823 deletions
diff --git a/docs/de-DE/README.md b/docs/de-DE/README.md
index 108b31577..e98d28513 100644
--- a/docs/de-DE/README.md
+++ b/docs/de-DE/README.md
@@ -94,11 +94,9 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
#### Powershell
- Trage folgendes in das Powershell-Profil ($Profile) ein. Standardmäßig gespeichert unter: `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` auf Windows, oder `~/.config/powershell/Microsoft.PowerShell_profile.ps1` auf -Nix:
+ Add the following to the end of `Microsoft.PowerShell_profile.ps1`. You can check the location of this file by querying the `$PROFILE` variable in PowerShell. Typically the path is `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` or `~/.config/powershell/Microsoft.PowerShell_profile.ps1` on -Nix.
```sh
- # ~\Documents\PowerShell\Profile.ps1
-
Invoke-Expression (&starship init powershell)
```
diff --git a/docs/de-DE/config/README.md b/docs/de-DE/config/README.md
index a2a20a191..046d7aaba 100644
--- a/docs/de-DE/config/README.md
+++ b/docs/de-DE/config/README.md
@@ -214,11 +214,13 @@ $conda\
$memory_usage\
$aws\
$gcloud\
+$openstack\
$env_var\
$crystal\
$cmd_duration\
$custom\
$line_break\
+$lua\
$jobs\
$battery\
$time\
@@ -426,16 +428,17 @@ vicmd_symbol = "[V](bold green) "
## CMake
-The `cmake` module shows the currently installed version of CMake if:
+The `cmake` module shows the currently installed version of CMake if any of the following conditions are met:
- The current directory contains a `CMakeLists.txt` file
+- The current directory contains a `CMakeCache.txt` file
### Optionen
| Option | Standardwert | Beschreibung |
| ---------- | ---------------------------------- | -------------------------------------------- |
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
-| `symbol` | `"🛆 "` | The symbol used before the version of cmake. |
+| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
| `style` | `"bold blue"` | Stil für dieses Modul. |
| `disabled` | `false` | Disables the `cmake` module. |
@@ -463,13 +466,21 @@ Bash Nutzer, die eine "preexec" ähnliche Funktion benötigen, können [rcaloras
### Optionen
-| Option | Standardwert | Beschreibung |
-| ------------------- | ----------------------------- | ------------------------------------------------------------------ |
-| `min_time` | `2_000` | Schwellwert für kleinste anzuzeigende Laufzeit (in Millisekunden). |
-| `show_milliseconds` | `false` | Zeige Millisekunden zusätzlich zu Sekunden. |
-| `format` | `"took [$duration]($style) "` | The format for the module. |
-| `style` | `"bold yellow"` | Stil für dieses Modul. |
-| `disabled` | `false` | Deaktiviert das `cmd_duration`-Modul. |
+| Option | Standardwert | Beschreibung |
+| -------------------- | ----------------------------- | ------------------------------------------------------------------ |
+| `min_time` | `2_000` | Schwellwert für kleinste anzuzeigende Laufzeit (in Millisekunden). |
+| `show_milliseconds` | `false` | Zeige Millisekunden zusätzlich zu Sekunden. |
+| `format` | `"took [$duration]($style) "` | The format for the module. |
+| `style` | `"bold yellow"` | Stil für dieses Modul. |
+| `disabled` | `false` | Deaktiviert das `cmd_duration`-Modul. |
+| `show_notifications` | `false` | Show desktop notifications when command completes. |
+| `min_time_to_notify` | `45_000` | Shortest duration for notification (in milliseconds). |
+
+::: Tipp
+
+Showing desktop notifications requires starship to be built with `rust-notify` support. You check if your starship supports notifications by running `STARSHIP_LOG=debug starship module cmd_duration -d 60000` when `show_notifications` is set to `true`.
+
+:::
### Variables
@@ -492,11 +503,11 @@ format = "underwent [$duration](bold yellow)"
## Conda
-Das `conda`-Modul zeigt dessen aktuelle Umgebung an, sofern `$CONDA_DEFAULT_ENV` gesetzt ist.
+The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set.
::: Tipp
-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.
+This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
:::
@@ -532,7 +543,7 @@ format = "[$symbol$environment](dimmed green) "
## Crystal
-The `crystal` module shows the currently installed version of Crystal. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `crystal` module shows the currently installed version of Crystal. The module will be shown if any of the following conditions are met:
- Das aktuelle Verzeichnis enthält eine `shard.yml`-Datei
- The current directory contains a `.cr` file
@@ -567,7 +578,7 @@ format = "via [✨ $version](bold blue) "
## Dart
-The `dart` module shows the currently installed version of Dart. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `dart` module shows the currently installed version of Dart. The module will be shown if any of the following conditions are met:
- The current directory contains a file with `.dart` extension
- The current directory contains a `.dart_tool` directory
@@ -603,7 +614,7 @@ format = "via [🔰 $version](bold red) "
## Verzeichnis
-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.
+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.
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.
@@ -623,7 +634,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
| `truncation_symbol` | `""` | The symbol to prefix to truncated paths. eg: "…/" |
<details>
-<summary>Dieses Modul hat einige erweiterte Konfigurationsoptionen, welche die Darstellung von Verzeichnissen steuern.</summary>
+<summary>This module has a few advanced configuration options that control how the directory is displayed.</summary>
| Advanced Option | Standardwert | Beschreibung |
| --------------------------- | ------------ | ---------------------------------------------------------------------------------------- |
@@ -751,7 +762,7 @@ heuristic = false
## Elixir
-The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. The module will be shown if any of the following conditions are met:
- Das aktuelle Verzeichnis enthält eine `mix.exs`-Datei.
@@ -786,7 +797,7 @@ symbol = "🔮 "
## Elm
-The `elm` module shows the currently installed version of Elm. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `elm` module shows the currently installed version of Elm. The module will be shown if any of the following conditions are met:
- Das aktuelle Verzeichnis enthält eine `elm.json`-Datei
- Das aktuelle Verzeichnis enthält eine `elm-package.json`-Datei
@@ -861,7 +872,7 @@ default = "unknown shell"
## Erlang
-The `erlang` module shows the currently installed version of Erlang/OTP. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `erlang` module shows the currently installed version of Erlang/OTP. The module will be shown if any of the following conditions are met:
- Das aktuelle Verzeichnis enthält eine `rebar.config`-Datei.
- Das aktuelle Verzeichnis enthält eine `erlang.mk`-Datei.
@@ -870,7 +881,7 @@ The `erlang` module shows the currently installed version of Erlang/OTP. Das Mod
| Option | Standardwert | Beschreibung |
| ---------- | ---------------------------------- | -------------------------------------------------------- |
-| `symbol` | `"🖧 "` | The symbol used before displaying the version of erlang. |
+| `symbol` | `" "` | The symbol used before displaying the version of erlang. |
| `style` | `"bold red"` | Stil für dieses Modul. |
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
| `disabled` | `false` | Disables the `erlang` module. |
@@ -956,24 +967,27 @@ asia-northeast1 = "an1"
## Git-Branch
-Das `git_branch`-Modul zeigt den aktiven Git-Branch des Repositories im aktuellen Verzeichnis an.
+The `git_branch` module shows the active branch of the repo in your current directory.
### Optionen
-| Option | Standardwert | Beschreibung |
-| ------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- |
-| `format` | `"on [$symbol$branch]($style) "` | The format for the module. Use `"$branch"` to refer to the current branch name. |
-| `symbol` | `" "` | A format string representing the symbol of git branch. |
-| `style` | `"bold purple"` | Stil für dieses Modul. |
-| `truncation_length` | `2^63 - 1` | Truncates a git branch to X graphemes. |
-| `truncation_symbol` | `"…"` | The symbol used to indicate a branch name was truncated. You can use `""` for no symbol. |
-| `disabled` | `false` | Deaktiviert das `git_branch`-Modul. |
+| Option | Standardwert | Beschreibung |
+| -------------------- | -------------------------------- | ---------------------------------------------------------------------------------------- |
+| `always_show_remote` | `false` | Shows the remote tracking branch name, even if it is equal to the local branch name. |
+| `format` | `"on [$symbol$branch]($style) "` | The format for the module. Use `"$branch"` to refer to the current branch name. |
+| `symbol` | `" "` | A format string representing the symbol of git branch. |
+| `style` | `"bold purple"` | Stil für dieses Modul. |
+| `truncation_length` | `2^63 - 1` | Truncates a git branch to X graphemes. |
+| `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. |
+| `disabled` | `false` | Disables the `git_branch` module. |
### Variables
| Variable | Beispiel | Beschreibung |
| --------- | -------- | ---------------------------------------------------------------------------------------------------- |
| branch | `master` | The current branch name, falls back to `HEAD` if there's no current branch (e.g. git detached HEAD). |
+| remote | `master` | The remote branch name. |
| symbol | | Mirrors the value of option `symbol` |
| style\* | | Mirrors the value of option `style` |
@@ -992,17 +1006,19 @@ truncation_symbol = ""
## Git Commit
-The `git_commit` module shows the current commit hash of the repo in your current directory.
+The `git_commit` module shows the current commit hash and also the tag (if any) of the repo in your current directory.
### Optionen
-| Option | Standartwert | Beschreibung |
-| -------------------- | -------------------------- | ----------------------------------------------------- |
-| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
-| `format` | `'[\($hash\)]($style) '` | The format for the module. |
-| `style` | `"bold green"` | Stil für dieses Modul. |
-| `only_detached` | `true` | Only show git commit hash when in detached HEAD state |
-| `disabled` | `false` | Disables the `git_commit` module. |
+| Option | Standartwert | Beschreibung |
+| -------------------- | ------------------------------------------------------ | ----------------------------------------------------- |
+| `commit_hash_length` | `7` | The length of the displayed git commit hash. |
+| `format` | `"[\\($hash\\)]($style) [\\($tag\\)]($style)"` | The format for the module. |
+| `style` | `"bold green"` | Stil für dieses Modul. |
+| `only_detached` | `true` | Only show git commit hash when in detached HEAD state |
+| `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |
+| `tag_symbol` | `"🏷 "` | Tag symbol prefixing the info shown |
+| `disabled` | `false` | Disables the `git_commit` module. |
### Variables
@@ -1020,6 +1036,7 @@ The `git_commit` module shows the current commit hash of the repo in your curren
[git_commit]
commit_hash_length = 4
+tag_symbol = "🔖 "
```
## Git-Zustand
@@ -1147,7 +1164,7 @@ behind = "⇣${count}"
## Golang
-Das `golang`-Modul zeigt die aktuell installierte Version von Golang. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `golang` module shows the currently installed version of Golang. The module will be shown if any of the following conditions are met:
- Das aktuelle Verzeichnis enthält eine `go.mod`-Datei
- Das aktuelle Verzeichnis enthält eine `go.sum`-Datei
@@ -1188,7 +1205,7 @@ format = "via [🏎💨 $version](bold cyan) "
## Helm
-The `helm` module shows the currently installed version of Helm. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `helm` module shows the currently installed version of Helm. The module will be shown if any of the following conditions are met:
- Das aktuelle Verzeichnis enthält eine `helmfile.yaml`-Datei
- The current directory contains a `Chart.yaml` file
@@ -1223,7 +1240,7 @@ format = "via [⎈ $version](bold white) "
## Hostname
-Das `hostname`-Modul zeigt den Hostnamen des Systems an.
+The `hostname` module shows the system hostname.
### Optionen
@@ -1258,7 +1275,7 @@ disabled = false
## Java
-Das `java` Modul zeigt die derzeit installierte Version von Java an. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `java` module shows the currently installed version of Java. The module will be shown if any of the following conditions are met:
- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt` or `.java-version` file
- The current directory contains a file with the `.java`, `.class`, `.gradle` or `.jar` extension
@@ -1327,7 +1344,7 @@ threshold = 4
## Julia
-The `julia` module shows the currently installed version of Julia. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `julia` module shows the currently installed version of Julia. The module will be shown if any of the following conditions are met:
- The current directory contains a `Project.toml` file
- The current directory contains a `Manifest.toml` file
@@ -1367,7 +1384,7 @@ Displays the current Kubernetes context name and, if set, the namespace from the
::: Tipp
-Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
@@ -1406,7 +1423,7 @@ disabled = false
## Zeilenumbruch
-Das `line_break`-Modul unterteilt den Prompt in zwei Zeilen.
+The `line_break` module separates the prompt into two lines.
### Optionen
@@ -1423,27 +1440,64 @@ Das `line_break`-Modul unterteilt den Prompt in zwei Zeilen.
disabled = true
```
-## Speicherauslastung
+## Lua
+
+The `lua` module shows the currently installed version of Lua. The module will be shown if any of the following conditions are met:
+
+- The current directory contains a `.lua-version` file
+- The current directory contains a `lua` directory
+- The current directory contains a file with the `.lua` extension
+
+### Optionen
+
+| Option | Standartwert | Beschreibung |
+| ------------ | ---------------------------------- | -------------------------------------------------------------------------- |
+| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
+| `symbol` | `"🌙 "` | A format string representing the symbol of Lua. |
+| `style` | `"bold blue"` | Stil für dieses Modul. |
+| `lua_binary` | `"lua"` | Configures the lua binary that Starship executes when getting the version. |
+| `disabled` | `false` | Disables the `lua` module. |
-Das `memory_usage` Modul zeigt den aktuellen Systemspeicher und die swap-Nutzung an.
+### Variables
-Standardmäßig wird die swap-Nutzung angezeigt, wenn der gesamte System-swap nicht Null ist.
+| Variable | Beispiel | Beschreibung |
+| --------- | -------- | ------------------------------------ |
+| version | `v5.4.0` | The version of `lua` |
+| symbol | | Mirrors the value of option `symbol` |
+| style\* | | Mirrors the value of option `style` |
+
+\*: This variable can only be used as a part of a style string
+
+### Beispiel
+
+```toml
+# ~/.config/starship.toml
+
+[lua]
+format = "via [🌕 $version](bold blue) "
+```
+
+## Memory Usage
+
+The `memory_usage` module shows current system memory and swap usage.
+
+By default the swap usage is displayed if the total system swap is non-zero.
::: Tipp
-Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `disabled` auf `false` um es zu aktivieren.
+This module is disabled by default. To enable it, set `disabled` to `false` in your configuration file.
:::
### Optionen
-| Option | Standartwert | Beschreibung |
-| ----------- | --------------------------------------------- | --------------------------------------------------------------------- |
-| `threshold` | `75` | Speicherauslastung ausblenden, wenn sie unter diesem Prozentsatz ist. |
-| `format` | `"via $symbol [${ram}( | ${swap})]($style) "` | The format for the module. |
-| `symbol` | `"🐏"` | Symbol das vor der Speicherauslastung angezeigt wird. |
-| `style` | `"bold dimmed white"` | Stil für dieses Modul. |
-| `disabled` | `true` | Deaktiviert das `memory_usage`-Modul. |
+| Option | Standartwert | Beschreibung |
+| ----------- | --------------------------------------------- | -------------------------------------------------------- |
+| `threshold` | `75` | Hide the memory usage unless it exceeds this percentage. |
+| `format` | `"via $symbol [${ram}( | ${swap})]($style) "` | The format for the module. |
+| `symbol` | `"🐏"` | The symbol used before displaying the memory usage. |
+| `style` | `"bold dimmed white"` | Stil für dieses Modul. |
+| `disabled` | `true` | Disables the `memory_usage` module. |
### Variables
@@ -1465,11 +1519,8 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis
[memory_usage]
disabled = false
-show_percentage = true
-show_swap = true
threshold = -1
symbol = " "
-separator = "/"
style = "bold dimmed green"
```
@@ -1511,9 +1562,9 @@ truncation_symbol = ""
## Nim
-The `nim` module shows the currently installed version of Nim. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `nim` module shows the currently installed version of Nim. The module will be shown if any of the following conditions are met:
-- Das aktuelle Verzeichnis enthält eine `nim.cfg`-Datei
+- The current directory contains a `nim.cfg` file
- The current directory contains a file with the `.nim` extension
- The current directory contains a file with the `.nims` extension
- The current directory contains a file with the `.nimble` extension
@@ -1547,9 +1598,9 @@ style = "yellow"
symbol = "🎣 "
```
-## Nix-Shell
+## Nix-shell
-Das `nix_shell`-Modul zeigt die nix-shell Umgebung an. Das Modul wird angezeigt, wenn es sich in einer nix-Shell-Umgebung befindet.
+The `nix_shell` module shows the nix-shell environment. The module will be shown when inside a nix-shell environment.
### Optionen
@@ -1560,7 +1611,7 @@ Das `nix_shell`-Modul zeigt die nix-shell Umgebung an. Das Modul wird angezeigt,
| `style` | `"bold blue"` | Stil für dieses Modul. |
| `impure_msg` | `"impure"` | A format string shown when the shell is impure. |
| `pure_msg` | `"pure"` | A format string shown when the shell is pure. |
-| `disabled` | `false` | Deaktiviert das `nix_shell`-Modul. |
+| `disabled` | `false` | Disables the `nix_shell` module. |
### Variables
@@ -1587,11 +1638,11 @@ format = 'via [☃️ $state( \($name\))](bold blue) '
## NodeJS
-Das `nodejs`-Modul zeigt die aktuell installierte Version von NodeJS. Das Modul wird gezeigt, wenn mindestens einer der folgenden Punkte erfüllt ist:
+The `nodejs` module shows the currently installed version of NodeJS. The module will be shown if any of the following conditions are met:
-- Das aktuelle Verzeichnis enthält eine `package.json`-Datei
+- The current directory contains a `package.json` file
- The current directory contains a `.node-version` file
-- Das aktuelle Verzeichnis enthält ein `node_modules`-Verzeichnis
+- The current directory contains a `node_modules` directory
- The current directory contains a file with the `.js`, `.mjs` or `.cjs` extension
- The current directory contains a file with the `.ts` extension
@@ -1602,7 +1653,7 @@ Das `nodejs`-Modul zeigt die aktuell installierte Version von NodeJS. Das Modul
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
| `symbol` | `"⬢ "` | A format string representing the symbol of NodeJS. |
| `style` | `"bold green"` | Stil für dieses Modul. |
-| `disabled` | `false` | Deaktiviert das `nodejs`-Modul. |
+| `disabled` | `false` | Disables the `nodejs` module. |
###  Variables
@@ -1623,37 +1674,64 @@ Das `nodejs`-Modul zeigt die aktuell installierte Version von NodeJS. Das Modul
format = "via [🤖 $version](bold green) "
```
-## Paketversion
+## OCaml
-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`, `cargo`, `poetry`, `composer`, `gradle`, `julia`, `mix` and `helm` packages.
+The `ocaml` module shows the currently installed version of OCaml. The module will be shown if any of the following conditions are met:
-- **npm** – Die `npm` Paketversion wird aus dem `package.json` gelesen, das sich im aktuellen Verzeichnis befindet
-- **Cargo** – Die `Cargo` Paketversion wird aus dem `Cargo.toml` gelesen, das sich im aktuellen Verzeichnis befindet
-- **poetry** – Die `poetry` Paketversion wird aus der `pyproject.toml` gelesen, das sich im aktuellen Verzeichnis befindet
-- **composer** – The `composer` package version is extracted from the `composer.json` present in the current directory
-- **gradle** – The `gradle` package version is extracted from the `build.gradle` present
-- **julia** - The package version is extracted from the `Project.toml` present
-- **mix** - The `mix` package version is extracted from the `mix.exs` present
-- **helm** - The `helm` chart version is extracted from the `Chart.yaml` present
-- **maven** - The `maven` package version is extracted from the `pom.xml` present
+- The current directory contains a file with `.opam` extension or `_opam` directory
+- The current directory contains a `esy.lock` directory
+- The current directory contains a `dune` or `dune-project` file
+- The current directory contains a `jbuild` or `jbuild-ignore` file
+- The current directory contains a `.merlin` file
+- The current directory contains a file with `.ml`, `.mli`, `.re` or `.rei` extension
-> ⚠️ Die angezeigte Version ist die des Pakets, dessen Quellcode im Verzeichnis liegt, nicht die des Paketmanagers.
+### Optionen
+
+| Option | Standartwert | Beschreibung |
+| ---------- | ---------------------------------- | ------------------------------------------------------- |
+| `format` | `"via [$symbol$version]($style) "` | The format string for the module. |
+| `symbol` | `"🐫 "` | The symbol used before displaying the version of OCaml. |
+| `style` | `"bold yellow"` | Stil für dieses Modul. |
+| `disabled` | `false`