summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--docs/.vuepress/config.js26
-rw-r--r--docs/de-DE/README.md48
-rw-r--r--docs/de-DE/advanced-config/README.md36
-rw-r--r--docs/de-DE/config/README.md573
-rw-r--r--docs/de-DE/guide/README.md177
-rw-r--r--docs/fr-FR/README.md16
-rw-r--r--docs/fr-FR/advanced-config/README.md56
-rw-r--r--docs/fr-FR/config/README.md64
-rw-r--r--docs/fr-FR/guide/README.md101
-rw-r--r--docs/ja-JP/README.md10
-rw-r--r--docs/ja-JP/config/README.md437
-rw-r--r--docs/ja-JP/guide/README.md53
-rw-r--r--docs/ru-RU/README.md10
-rw-r--r--docs/ru-RU/config/README.md38
-rw-r--r--docs/ru-RU/guide/README.md39
-rw-r--r--docs/zh-CN/README.md40
-rw-r--r--docs/zh-CN/advanced-config/README.md8
-rw-r--r--docs/zh-CN/config/README.md48
-rw-r--r--docs/zh-CN/guide/README.md119
-rw-r--r--docs/zh-TW/README.md44
-rw-r--r--docs/zh-TW/advanced-config/README.md50
-rw-r--r--docs/zh-TW/config/README.md753
-rw-r--r--docs/zh-TW/guide/README.md173
-rwxr-xr-xmedia/flag-cn.pngbin2449 -> 2525 bytes
-rwxr-xr-xmedia/flag-de.pngbin2102 -> 2299 bytes
-rwxr-xr-xmedia/flag-fr.pngbin2293 -> 2399 bytes
-rwxr-xr-xmedia/flag-ru.pngbin2230 -> 2469 bytes
-rwxr-xr-x[-rw-r--r--]media/flag-tw.pngbin2689 -> 1090 bytes
29 files changed, 1605 insertions, 1322 deletions
diff --git a/README.md b/README.md
index f1dd26483..bc4589181 100644
--- a/README.md
+++ b/README.md
@@ -50,12 +50,12 @@
><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-jp.png" alt="日本語"
/></a>
&#0020;
- <a href="https://translate.starship.rs/project/starship-prompt/zh-CN"
- ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" alt="简体中文"
+ <a href="https://github.com/starship/starship/blob/master/docs/zh-TW/guide/README.md"
+ ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-tw.png" alt="繁體中文"
/></a>
&#0020;
- <a href="https://translate.starship.rs/project/starship-prompt/zh-TW"
- ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-tw.png" alt="繁體中文"
+ <a href="https://translate.starship.rs/project/starship-prompt/zh-CN"
+ ><img height="20" src="https://raw.githubusercontent.com/starship/starship/master/media/flag-cn.png" alt="简体中文"
/></a>
&#0020;
<a href="https://translate.starship.rs/project/starship-prompt/de"
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index 6ada97772..2aba6c2c3 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -9,6 +9,11 @@ module.exports = {
lang: "ja-JP",
title: "Starship",
description: "The cross-shell prompt for astronauts"
+ },
+ "/zh-TW/": {
+ lang: "zh-TW",
+ title: "Starship",
+ description: "The cross-shell prompt for astronauts"
}
},
head: [["link", { rel: "icon", href: "/icon.png" }]],
@@ -38,7 +43,7 @@ module.exports = {
["/guide/", "Guide"],
["/config/", "Configuration"],
["/advanced-config/", "Advanced Configuration"]
- ],
+ ]
},
"/ja-JP/": {
// text for the language dropdown
@@ -55,8 +60,25 @@ module.exports = {
["/ja-JP/guide/", "ガイド"],
["/ja-JP/config/", "設定"],
["/ja-JP/advanced-config/", "高度な設定"]
- ],
+ ]
},
+ "/zh-TW/": {
+ // text for the language dropdown
+ selectText: "語言",
+ // label for this locale in the language dropdown
+ label: "繁體中文",
+ // Custom text for edit link. Defaults to "Edit this page"
+ editLinkText: "在 GitHub 上修改此頁面",
+ // Custom navbar values
+ nav: [{ text: "設定", link: "/zh-TW/config/" }],
+ // Custom sidebar values
+ sidebar: [
+ "/zh-TW/",
+ ["/zh-TW/guide/", "指引"],
+ ["/zh-TW/config/", "設定"],
+ ["/zh-TW/advanced-config/", "進階設定"]
+ ]
+ }
}
},
plugins: [
diff --git a/docs/de-DE/README.md b/docs/de-DE/README.md
index 7cd8a78c5..2bb4ed318 100644
--- a/docs/de-DE/README.md
+++ b/docs/de-DE/README.md
@@ -1,23 +1,23 @@
---
home: true
heroImage: /logo.svg
-actionText: Get Started →
+actionText: Loslegen →
actionLink: /guide/
-footer: ISC Licensed | Copyright © 2019-present Starship Contributors
+footer: ICS lizenziert | Copyright © 2019-heute Starship-Mitwirkende
---
<div class="features">
<div class="feature">
- <h2>Compatibility First</h2>
- <p>Works on the most common shells on the most common operating systems. Use it everywhere!</p>
+ <h2>Kompatibel</h2>
+ <p>Läuft mit den beliebtesten Shells auf den beliebtesten Betriebssystemen. Überall einsetzbar!</p>
</div>
<div class="feature">
- <h2>Rust-Powered</h2>
- <p>Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible.</p>
+ <h2>Antrieben von Rust</h2>
+ <p>Bringt die branchenweit beste Geschwindigkeit und Sicherheit von Rust mit, um Deine Eingaben so schnell und zuverlässig wie nur möglich zu machen.</p>
</div>
<div class="feature">
- <h2>Customizable</h2>
- <p>Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you'd like it to be.</p>
+ <h2>Individualisierbar</h2>
+ <p>Jedes noch so kleine Detail kann nach Deinen Wünschen angepasst werden, um die Eingabeaufforderung so minimal oder funktionsreich zu gestalten, wie Du es möchtest.</p>
</div>
</div>
@@ -28,11 +28,11 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
</video>
</div>
-### Quick Install
+### Schnellinstallation
-1. Install the **starship** binary:
+1. Installiere die Binärversion von **starship**:
- **[Download archives of precompiled binaries](https://github.com/starship/starship/releases)** if you don't use the platforms below.
+ **[Lade die vorkompilierte Binärversion herunter](https://github.com/starship/starship/releases)**, wenn du keine der unten gelisteten Plattformen verwendest.
#### Homebrew
@@ -42,7 +42,7 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
```
- #### Rust (v1.33 or higher)
+ #### Rust (v1.33 oder neuer)
```sh
$ cargo install starship
@@ -51,14 +51,14 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
#### Arch Linux (AUR)
- Starship is available on the AUR under the name `starship`. Install it with `yay` or your favorite AUR helper.
+ Starship ist via AUR unter dem Namen `starship` verfügbar. Installiere es mittels `yay` oder einem AUR-Helfer deiner Wahl.
```sh
$ yay -S starship
```
- #### Nix (unstable)
+ #### Nix (instabil)
```sh
$ nix-env --install starship
@@ -71,12 +71,12 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
$ pkg install starship
```
-1. Add the init script to your shell's config file:
+1. Füge das init-Skript zur Konfigurationsdatei deiner Shell hinzu:
#### Bash
- Add the following to the end of `~/.bashrc`:
+ Trage folgendes am Ende der `~/.bashrc` ein:
```sh
# ~/.bashrc
@@ -87,7 +87,7 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
#### Fish
- Add the following to the end of `~/.config/fish/config.fish`:
+ Trage folgendes am Ende der `~/.config/fish/config.fish` ein:
```sh
# ~/.config/fish/config.fish
@@ -98,10 +98,22 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
#### Zsh
- Add the following to the end of `~/.zshrc`:
+ Trage folgendes am Ende der `~/.zshrc` ein:
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
+
+
+ #### 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:
+
+ ```sh
+ # notepad $PROFILE
+# ~\Documents\PowerShell\Profile.ps1
+
+ Invoke-Expression (&starship init powershell)
+ ```
diff --git a/docs/de-DE/advanced-config/README.md b/docs/de-DE/advanced-config/README.md
index d5d27031f..37d945860 100644
--- a/docs/de-DE/advanced-config/README.md
+++ b/docs/de-DE/advanced-config/README.md
@@ -1,18 +1,18 @@
-# Advanced Configuration
+# Erweiterte Konfiguration
-While Starship is a versatile shell, sometimes you need to do more than edit `starship.toml` to get it to do certain things. This page details some of the more advanced configuration techniques used in starship.
+Auch wenn Starship eine vielseitige Shell ist, reichen manche Konfigurationen in der `starship.toml` nicht aus, um erweiterte Einstellungen vorzunehmen. Diese Seite beschreibt einige fortgeschrittene Konfigurationen für Starship.
-::: warning
+::: Warnung
-The configurations in this section are subject to change in future releases of Starship.
+Die hier beschriebenen Konfigurationen werden sich mit kommenden Updates von Starship verändern.
:::
-## Custom pre-prompt and pre-execution Commands in Bash
+## Benutzerdefinierte Pre-Prompt- und Pre-Execution-Befehle in der Bash
-Bash does not have a formal preexec/precmd framework like most other shells. Because of this, it is difficult to provide fully customizable hooks in `bash`. However, Starship does give you limited ability to insert your own functions into the prompt-rendering procedure:
+Die Bash Shell hat, im Gegensatz zu vielen anderen Shells, kein konventionelles preexec/precmd Framework. Daher gestaltet es sich schwierig, vollständig anpassbare Hooks für `bash` anzubieten. Starship bietet daher die begrenzte Möglichkeit, eigene Funktionen in das prompt rendering Verfahren einzufügen:
-- To run a custom function right before the prompt is drawn, define a new function and then assign its name to `starship_precmd_user_func`. For example, to draw a rocket before the prompt, you would do
+- Um eine benutzerdefinierte Funktion kurz vor Anzeige der Eingabeaufforderung auszuführen, definiere eine neue Funktion und weise den Namen `starship_precmd_user_func` zu. Um beispielsweise eine Rakete anzuzeigen, bevor die Eingabeaufforderung erscheint, würde man folgendes tun
```bash
function blastoff(){
@@ -21,45 +21,45 @@ function blastoff(){
starship_precmd_user_func="blastoff"
```
-- To run a custom function right before a command runs, you can use the [`DEBUG` trap mechanism](https://jichu4n.com/posts/debug-trap-and-prompt_command-in-bash/). However, you **must** trap the DEBUG signal *before* initializing Starship! Starship can preserve the value of the DEBUG trap, but if the trap is overwritten after starship starts up, some functionality will break.
+- Um eine benutzerdefinierte Funktion direkt vor der Ausführung eines Befehls auszulösen, kann man den [`DEBUG` trap](https://jichu4n.com/posts/debug-trap-and-prompt_command-in-bash/) Mechanismus verwenden. Allerdings **muss** das DEBUG Signal *vor* der Initialisierung von Starship getrapped werden! Starship kann den Wert der DEBUG-trap speichern. Wenn der Wert der DEBUG-trap überschrieben wird nachdem Starship gestartet ist kann es zu Fehlern im Bezug auf die verwendete DEBUG-trap kommen.
```bash
function blastoff(){
echo "🚀"
}
-trap blastoff DEBUG # Trap DEBUG *before* running starship
+trap blastoff DEBUG # DEBUG-Trap *bevor* Starship läuft
eval $(starship init bash)
```
-## Change Window Title
+## Fenstertitel anpassen
-Some shell prompts will automatically change the window title for you (e.g. to reflect your working directory). Fish even does it by default. Starship does not do this, but it's fairly straightforward to add this functionality to `bash` or `zsh`.
+Manche shell prompts können den Fenstertitel ändern. Fish ist standardmäßig so konfiguriert. Starship ändert standardmäßig den Fenstertitel nicht, aber es ist sehr einfach die Funktion zu `bash` oder `zsh` hinzuzufügen.
-First, define a window title change function (identical in bash and zsh):
+Zuerst wird eine Funktion definiert um den Fenstertitel zu ändern ( für bash und zsh ist die Funktion identisch):
```bash
function set_win_title(){
- echo -ne "\033]0; YOUR_WINDOW_TITLE_HERE \007"
+ echo -ne "\033]0; DEIN_FENSTERTITEL_HIER \007"
}
```
-You can use variables to customize this title (`$USER`, `$HOSTNAME`, and `$PWD` are popular choices).
+Sie können Variablen verwenden, um diesen Titel anzupassen (`$USER`, `$HOSTNAME`, `$PWD`).
-In `bash`, set this function to be the precmd starship function:
+Für `bash` muss die Funktion als "precmd starship"-Funktion gesetzt werden:
```bash
starship_precmd_user_func="set_win_title"
```
-In `zsh`, add this to the `precmd_functions` array:
+Füge dies in `Zsh` zum `precmd_functions`-Array hinzu:
```bash
precmd_functions+=(set_win_title)
```
-If you like the result, add these lines to your shell configuration file (`~/.bashrc` or `~/.zsrhc`) to make it permanent.
+Um die Funktion dauerhaft zu machen, schreiben Sie diese in die Shell-Konfigurationsdatei: (`~/.bashrc` oder `~/.zsrhc`).
-## Style Strings
+## Style-Strings
Style strings are a list of words, separated by whitespace. The words are not case sensitive (i.e. `bold` and `BoLd` are considered the same string). Each word can be one of the following:
diff --git a/docs/de-DE/config/README.md b/docs/de-DE/config/README.md
index 99c572692..92f548e0e 100644
--- a/docs/de-DE/config/README.md
+++ b/docs/de-DE/config/README.md
@@ -1,83 +1,84 @@
-# Configuration
+# Konfiguration
::: tip
-🔥 Configuration is currently being worked on. Many new configuration options will be available in coming releases.
+🔥 Die Konfiguration befindet sich derzeit noch in der Entwicklung. Viele neue Konfigurationsoptionen werden in den kommenden Versionen verfügbar sein.
:::
-To get started configuring starship, create the following file: `~/.config/starship.toml`.
+Um mit der Konfiguration von Starship zu beginnen, musst du die folgende Datei erstellen: `~/.config/starship.toml`.
```shell
$ touch ~/.config/starship.toml
```
-All configuration for starship is done in this [TOML](https://github.com/toml-lang/toml) file:
+Die gesamte Konfiguration von Starship wird über diese [TOML](https://github.com/toml-lang/toml)-Datei durchgeführt:
```toml
-# Don't print a new line at the start of the prompt
+# Kein Zeilenumbruch am Anfang der Eingabe
add_newline = false
-# Replace the "❯" symbol in the prompt with "➜"
-[character] # The name of the module we are configuring is "character"
-symbol = "➜" # The "symbol" segment is being set to "➜"
+# Ersetze das "❯" Symbol in der Konsole mit "➜"
+[character] # Wir nehmen Änderungen im Module "character" vor
+symbol = "➜" # Das "symbol" Feld wird "➜" gesetzt
-# Disable the package module, hiding it from the prompt completely
+# Deaktiviere das "package" Modul um es ganz aus der Anzeige zu entfernen
[package]
disabled = true
```
-### Terminology
+### Terminologie
-**Module**: A component in the prompt giving information based on contextual information from your OS. For example, the "nodejs" module shows the version of NodeJS that is currently installed on your computer, if your current directory is a NodeJS project.
+**Module**: Eine Komponente in der Konsole, die auf kontextualisierte Informationen des OS basiert. Zum Beispiel das "nodejs" Modul zeigt die version von NodeJS, die derzeit auf deinem Rechner installiert ist, wenn dein Arbeitsordner ein NodeJS Projekt umfasst.
-**Segment**: Smaller sub-components that compose a module. For example, the "symbol" segment in the "nodejs" module contains the character that is shown before the version number (⬢ by default).
+**Segment**: Kleinere Sub-Komponente die ein Modul ergeben. Zum Beispiel, das "symbol" Segment im "nodejs" Modul beinhaltet das Symbol das vor der Versionsnummer gezeigt wird (Standard: ⬢).
-Here is the representation of the node module. In the following example, "symbol" and "version" are segments within it. Every module also has a prefix and suffix that are the default terminal color.
+Hier ist die Darstellung des Node Moduls. Im folgenden Beispiel betrachten wir die Segmente "symbol" und "version". Jedes Modul hat auch einen Prefix und einen Suffix, das auf die Standardfarbe des Terminals gesetzt ist.
```
[prefix] [symbol] [version] [suffix]
"via " "⬢" "v10.4.1" ""
```
-### Style Strings
+### Style-Strings
-Most modules in starship allow you to configure their display styles. This is done with an entry (usually called `style`) which is a string specifying the configuration. Here are some examples of style strings along with what they do. For details on the full syntax, consult the [advanced config guide](/advanced-config/).
+Die meisten Module in starship lassen dich den Darstellungsstil verändern. Dies passiert meistens an einem bestimmten Eintrag (gewöhnlich `style` genannt), der einen String mit den Einstellungen darstellt. Es folgen ein paar Beispiele für solche Strings zusammen mit Beschreibungen was sie bewirken. Details zur vollen Syntax findest du im [Erweiterten Einstellungshandbuch](/advanced-config/).
-- `"fg:green bg:blue"` sets green text on a blue background
-- `"bg:blue fg:bright-green"` sets bright green text on a blue background
-- `"bold fg:27"` sets bold text with [ANSI color](https://i.stack.imgur.com/KTSQa.png) 27
-- `"underline bg:#bf5700"` sets underlined text on a burnt orange background
-- `"bold italic fg:purple"` sets bold italic purple text
-- `""` explicitly disables all styling
+- `"fg:green bg:blue"` setzt grünen Text auf blauen Hintergrund
+- `"bg:blue fg:bright-green"` setzt hell-grünen Text auf blauen Hintergrund
+- `"bold fg:27"` setzt dicke Schrift auf [ANSI Farbe](https://i.stack.imgur.com/KTSQa.png) 27
+- `"underline bg:#bf5700"` setzt unterstrichenen Text auf einen orangenen Hintergrund
+- `"bold italic fg:purple"` setzt dicke Kursivschrift lila
+- `""` deativiert explizit jeden Stil
-Note that what styling looks like will be controlled by your terminal emulator. For example, some terminal emulators will brighten the colors instead of bolding text, and some color themes use the same values for the normal and bright colors. Also, to get italic text, your terminal must support italics.
+Wie genau sich diese Konfiguration auswirkt liegt an deinem Shell Emulator. Einige Emulatoren zum Beispiel werden die Farben erhellen statt Text dick zu machen, und ein paar Farbthemata benutzen dieselben werte für normale und helle Farben. Für kursiven Text muss dein Terminal Kursivschrift unterstützen.
## Prompt
-This is the list of prompt-wide configuration options.
+Dies ist eine Liste mit Prompt-weiten Konfigurationsoptionen.
-### Options
+### Optionen
-| Variable | Default | Description |
-| -------------- | ----------------------------- | ------------------------------------------------------ |
-| `add_newline` | `true` | Add a new line before the start of the prompt. |
-| `prompt_order` | [link](#default-prompt-order) | Configure the order in which the prompt module occurs. |
+| Variable | Standardwert | Beschreibung |
+| -------------- | ----------------------------- | ------------------------------------------------------------------ |
+| `add_newline` | `true` | Neuer Zeilenumbruch bei Start des Prompts. |
+| `prompt_order` | [link](#default-prompt-order) | Stelle die Reihenfolge ein, in der die Module den prompt aufbauen. |
-### Example
+### Beispiel
```toml
# ~/.config/starship.toml
-# Disable the newline at the start of the prompt
+# Kein Zeilenumbruch am Anfang der Eingabe
add_newline = false
-# Overwrite a default_prompt_order and use custom prompt_order
+
+# Überscheibt die Standard-Reihenfolge und nutzt die folgende
prompt_order=["rust","line_break","package","line_break","character"]
```
-### Default Prompt Order
+### Default Promp Order
-The default `prompt_order` is used to define the order in which modules are shown in the prompt, if empty or no `prompt_order` is provided. The default is as shown:
+Die Standard `prompt_order` wird benutzt um die Reihenfolge der Module im Prompt zu definieren, falls `prompt_order` leer oder nicht gesetzt ist. Der default sieht wie folgt aus:
```toml
prompt_order = [
@@ -112,17 +113,17 @@ prompt_order = [
## AWS
-The `aws` module shows the current AWS profile. This is based on the `AWS_PROFILE` env var.
+Das `aws`-Modul zeigt das aktuelle AWS-Profil an. Dies basiert auf den Umgebungsvariablen: `AWS_REGION`, `AWS_DEFAULT_REGION`, `AWS_PROFILE` und der `~/.aws/config` Datei.
-### Options
+### Optionen
-| Variable | Default | Description |
-| ---------- | --------------- | ---------------------------------------------------------- |
-| `symbol` | `"☁️ "` | The symbol used before displaying the current AWS profile. |
-| `style` | `"bold yellow"` | The style for the module. |
-| `disabled` | `false` | Disables the `AWS` module. |
+| Variable | Standardwert | Beschreibung |
+| ---------- | --------------- | ------------------------------------------------------------------- |
+| `symbol` | `"☁️ "` | Symbol das vor der Anzahl des aktuellen AWS-Profils angezeigt wird. |
+| `style` | `"bold yellow"` | Stil für dieses Modul. |
+| `disabled` | `false` | Deaktiviert das `aws`-Modul. |
-### Example
+### Beispiel
```toml
# ~/.config/starship.toml
@@ -132,22 +133,22 @@ style = "bold blue"
symbol = "🅰 "
```
-## Battery
+## 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.
-### Options
+### Optionen
-| Variable | Default | Description |
-| -------------------- | ------------------------ | ------------------------------------------------- |
-| `full_symbol` | `"•"` | The symbol shown when the battery is full. |
-| `charging_symbol` | `"⇡"` | The symbol shown when the battery is charging. |
-| `discharging_symbol` | `"⇣"` | The symbol shown when the battery is discharging. |
-| `display` | [link](#battery-display) | Display threshold and style for the module. |
-| `disabled` | `false` | Disables the `battery` module. |
+| Variable | Standardwert | Beschreibung |
+| -------------------- | ------------------------ | ----------------------------------------------------------------------------------- |
+| `full_symbol` | `"•"` | Das Symbol das angezeigt wird wenn der Akku voll geladen ist. |
+| `charging_symbol` | `"⇡"` | Das Symbol das angezeigt wird wenn der Akku aufgeladen wird. |
+| `discharging_symbol` | `"⇣"` | Das Symbol, das angezeigt wird, wenn die Batterie entladen wird. |
+| `display` | [link](#battery-display) | Stellt den Grenzwert ein ab dem der Ladezustand (das battery-Modul) angezeigt wird. |
+| `disabled` | `false` | Wenn der Wert auf `true` steht, wird das Akkustand-Modul deaktiviert. |
<details>
-<summary>There are also options for some uncommon battery states.</summary>
+<summary>Das Batterie-Modul unterstützt auch einige ungewöhnliche Zustände.</summary>
| Variable | Description |
| ---------------- | --------------------------------------------------- |
@@ -158,7 +159,7 @@ Note: Battery indicator will be hidden if the status is `unknown` or `empty` unl
</details>
-### Example
+### Beispiel
```toml
# ~/.config/starship.toml
@@ -169,9 +170,9 @@ charging_symbol = "⚡️"
discharging_symbol = "💀"
```
-### Battery Display
+### Anzeige des Akkustandes
-The `display` configuration option is used to define when the battery indicator should be shown (threshold) and what it looks like (style). If no `display` is provided. The default is as shown:
+Die `display` Konfiguration "threshold" stellt ein ab wann die Akkuanzeige eingeblendet wird. Mit "style" wird das Erscheinungsbild festgelegt. Wenn `display` nicht angegeben ist. Werden die folgenden Standardwerte verwendet:
```toml
[[battery.display]]
@@ -179,49 +180,49 @@ threshold = 10
style = "bold red"
```
-#### Options
+#### Optionen
-The `display` option is an array of the following table.
+Die `display`-Option beinhaltet ein Array mit den folgenden Werten.
-| Variable | Description |
-| ----------- | ----------------------------------------------- |
-| `threshold` | The upper bound for the display option. |
-| `style` | The style used if the display option is in use. |
+| Variable | Beschreibung |
+| ----------- | ------------------------------------------------------- |
+| `threshold` | Der Schwellenwert zur Anzeige dieser Option. |
+| `style` | Der Stil, der zur Anzeige dieser Option verwendet wird. |
-#### Example
+#### Beispiel
```toml
-[[battery.display]] # "bold red" style when capacity is between 0% and 10%
+[[battery.display]] # "bold red" bei Akkustand zwischen 0–10%
threshold = 10
style = "bold red"
-[[battery.display]] # "bold yellow" style when capacity is between 10% and 30%
+[[battery.display]] # "bold yellow" bei Akkustand zwischen 10–30%
threshold = 30
style = "bold yellow"
-# when capacity is over 30%, the battery indicator will not be displayed
+# Bei Akkustand über 30% wird der Akkustand nicht angezeigt
```
-## Character
+## 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: by changing color (red/green) or by changing its shape (❯/✖). The latter will only be done if `use_symbol_for_status` is set to `true`.
+Das Zeichen zeigt an ob der letzte Befehl erfolgreich war, oder einen Fehler erzeugt hat. Das Modul ändert entweder die Farbe, ("style_success","style_failure") standardmäßig Grün/Rot. Oder das Symbol, wenn `use_symbol_for_status` auf `true` steht.
-### Options
+### Optionen
-| Variable | Default | Description |
-| ----------------------- | -------------- | ----------------------------------------------------------------------------------- |
-| `symbol` | `"❯"` | The symbol used before the text input in the prompt. |
-| `error_symbol` | `"✖"` | The symbol used before text input if the previous command failed. |
-| `use_symbol_for_status` | `false` | Indicate error status by changing the symbol. |
-| `vicmd_symbol` | `"❮"` | The symbol used before the text input in the prompt if shell is in vim normal mode. |
-| `style_success` | `"bold green"` | The style used if the last command was successful. |
-| `style_failure` | `"bold red"` | The style used if the last command failed. |
-| `disabled` | `false` | Disables the `character` module. |
+| Variable | Standardwert | Beschreibung |
+| ----------------------- | -------------- | ----------------------------------------------------------------------------------------------------------------- |
+| `symbol` | `"❯"` | Das Symbol, das vor der Texteingabe im Prompt verwendet wird. |
+| `error_symbol` | `"✖"` | Das Symbol, das vor der Texteingabe angezeigt wird, wenn der letzte Befehl fehlgeschlagen ist. |
+| `use_symbol_for_status` | `false` | Fehlerstatus durch Ändern des Symbols anzeigen. |
+| `vicmd_symbol` | `"❮"` | Das Symbol, das vor Texteingaben im Prompt verwendet wird, wenn die Shell sich im "normal mode" von vim befindet. |
+| `style_success` | `"bold green"` | Der Stil, der verwendet wird, wenn der letzte Befehl erfolgreich war. |
+| `style_failure` | `"bold red"` | Der Stil, der verwendet wird, wenn der letzte Befehl fehlgeschlagen ist. |
+| `disabled` | `false` | Deaktiviert das `character`-Modul. |
-### Example
+### Beispiel
```toml
# ~/.config/starship.toml
@@ -232,11 +233,11 @@ error_symbol = "✗"
use_symbol_for_status = true
```
-## Command Duration
+## 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.
-::: 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.
@@ -244,16 +245,16 @@ If you are running Starship in `bash`, do not hook the `DEBUG` trap after runnin
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.
-### Options
+### Optionen
-| Variable | Default | Description |
-| ---------- | --------------- | ---------------------------------------------------------- |
-| `min_time` | `2` | Shortest duration to show time for. |
-| `prefix` | `took` | Prefix to display immediately before the command duration. |
-| `style` | `"bold yellow"` | The style for the module. |
-| `disabled` | `false` | Disables the `cmd_duration` module. |
+| Variable | Standardwert | Beschreibung |
+| ---------- | --------------- | ------------------------------------------------------------------------- |
+| `min_time` | `2` | Kürzestes Wert für den die Ausführungsdauer angezeigt wird (in Sekunden). |
+| `prefix` | `took` | Prefix der unmittelbar vor der Ausführungszeit angezeigt wird. |
+| `style` | `"bold yellow"` | Stil für dieses Modul. |
+| `disabled` | `false` | Deaktiviert das `cmd_duration`-Modul. |
-### Example
+### Beispiel
```toml
# ~/.config/starship.toml
@@ -265,17 +266,17 @@ prefix = "underwent "
## Conda
-The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV` is set. Note: This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`
+Das `conda`-Modul zeigt dessen aktuelle Umgebung an, sofern `$CONDA_DEFAULT_ENV` gesetzt ist. Hinweis: Dies unterdrückt conda's eigenen Prompt-Modifikator nicht, sie können jedoch `conda config --set changeps1 False` setzen, um dies zu realisieren.
-### Options
+### Optionen
-| Variable | Default | Description |
-| ---------- | -------------- | -------------------------------------------- |
-| `symbol` | `"C "` | The symbol used before the environment name. |
-| `style` | `"bold green"` | The style for the module. |
-| `disabled` | `false` | Disables the `conda` module. |
+| Variable | Standardwert | Beschreibung |
+| ---------- | -------------- | ------------------------------------------------- |
+| `symbol` | `"C "` | Symbol das vor dem Umgebungsnamen angezeigt wird. |
+| `style` | `"bold green"` | Stil für dieses Modul. |
+| `disabled` | `false` | Deaktiviert das `conda`-Modul. |
-### Example
+### Beispiel
```toml
# ~/.config/starship.toml
@@ -284,7 +285,7 @@ The `conda` module shows the current conda environment, if `$CONDA_DEFAULT_ENV`
style = "dimmed green"
```
-## Directory
+## 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.
@@ -292,26 +293,26 @@ When using the fish style pwd option, instead of hiding the path that is truncat
For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, and the option set to `1`. You will now see `~/D