Files
starship/docs/de-DE/README.md
T

194 lines
4.7 KiB
Markdown
Raw Normal View History

---
2024-03-03 17:55:30 +01:00
layout: home
hero:
image: /logo.svg
2024-03-21 20:42:05 +09:00
text:
tagline: Der minimalistische, super schnelle und unendlich anpassbare Prompt für jede Shell!
2024-03-03 17:55:30 +01:00
actions:
2024-03-21 20:42:05 +09:00
-
theme: brand
2024-03-03 17:55:30 +01:00
text: Loslegen →
2024-03-21 20:42:05 +09:00
link: ./de-DE/guide/
2020-02-04 12:11:36 -05:00
features:
2024-03-21 20:42:05 +09:00
-
2020-02-04 12:11:36 -05:00
title: Kompatibel
details: Läuft mit den beliebtesten Shells auf den beliebtesten Betriebssystemen. Überall einsetzbar!
2024-03-21 20:42:05 +09:00
-
2020-02-04 12:11:36 -05:00
title: Rust-Powered
2022-12-05 15:54:12 +09:00
details: Bringt die Schnelligkeit und Sicherheit von Rust in deine Shell-Prompt.
2024-03-21 20:42:05 +09:00
-
2020-02-04 12:11:36 -05:00
title: Individualisierbar
details: 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.
footer: ICS lizenziert | Copyright © 2019-heute Starship-Mitwirkende
2020-02-04 12:11:36 -05:00
#Used for the description meta tag, for SEO
metaTitle: "Starship: Cross-Shell Prompt"
2022-12-05 15:54:12 +09:00
description: Starship ist eine minimale, super schnelle, und extrem anpassbare Prompt für jede Shell! Sie zeigt die Information, die man benötigt an, während sie schnell und minimal bleibt. Schnell-Installation verfügbar für Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd, und PowerShell.
---
2024-05-16 02:07:00 +09:00
<script setup>
import { onMounted } from 'vue'
onMounted(() => {
const urlParams = new URLSearchParams(window.location.search)
if (urlParams.has('uwu') || urlParams.has('kawaii')) {
const img = document.querySelector('.VPHero .VPImage.image-src')
img.classList.add('uwu')
img.src = '/logo-uwu.png'
img.alt = 'Kawaii Starship Logo by @sawaratsuki1004'
}
})
</script>
2024-03-21 20:42:05 +09:00
<video class="demo-video" muted autoplay loop playsinline>
<source src="/demo.webm" type="video/webm">
<source src="/demo.mp4" type="video/mp4">
</video>
2021-04-22 17:12:09 -04:00
### Voraussetzungen
2022-12-05 15:54:12 +09:00
- Eine [Nerd Font](https://www.nerdfonts.com/) installiert und aktiviert in deinem Terminal.
2021-04-22 17:12:09 -04:00
### Schnellinstallation
1. Installiere die Binärversion von **starship**:
2020-02-04 12:11:36 -05:00
#### Neueste Version installieren
2021-04-05 10:55:57 -04:00
Mit Shell:
```sh
2022-03-08 21:11:36 -05:00
curl -sS https://starship.rs/install.sh | sh
```
2022-03-08 21:11:36 -05:00
2024-02-24 17:49:00 +09:00
Führe das Skript oben erneut aus, um Starship selbst zu aktualisieren. Die vorhandene Version wird ersetzt, ohne dass deine Starship-Konfiguration verloren geht.
2020-02-04 12:11:36 -05:00
#### Installation mithilfe eines Paket-Managers
2021-04-08 11:52:32 -04:00
Mit [Homebrew](https://brew.sh/):
```sh
2019-12-24 16:54:29 -05:00
brew install starship
```
2024-03-21 20:42:05 +09:00
2022-12-05 15:54:12 +09:00
Mit [Winget](https://github.com/microsoft/winget-cli):
2019-12-24 16:54:29 -05:00
```powershell
2022-10-14 21:53:32 -04:00
winget install starship
```
2022-12-05 15:54:12 +09:00
1. Füge das init-Skript zur Konfigurationsdatei deiner Shell hinzu:
#### Bash
2024-02-24 17:49:00 +09:00
Füge dies ans Ende von `~/.bashrc`:
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
Trage folgendes am Ende der `~/.config/fish/config.fish` ein:
```sh
# ~/.config/fish/config.fish
starship init fish | source
```
#### Zsh
2022-12-05 15:54:12 +09:00
Trage folgendes am Ende der `~/.zshrc` ein:
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
#### Powershell
2024-02-24 17:49:00 +09:00
Füge das Folgende ans Ende von `Microsoft.PowerShell_profile.ps1` an. Du kannst den Speicherort dieser Datei überprüfen, indem du die `$PROFILE` Variable in PowerShell abfragst. Normalerweise ist der Pfad `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` oder `~/.config/powershell/Microsoft.PowerShell_profile.ps1` auf -Nix.
```sh
Invoke-Expression (&starship init powershell)
```
2019-12-24 16:54:29 -05:00
#### Ion
2020-02-04 12:11:36 -05:00
Trage folgendes am Ende der `~/.config/ion/initrc` ein:
2019-12-24 16:54:29 -05:00
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```
2021-02-06 12:46:15 -05:00
2021-08-14 09:24:51 -04:00
2021-02-06 12:46:15 -05:00
#### Elvish
2025-10-25 20:33:44 +09:00
> [!WARNING] Only elvish v0.18 or higher is supported.
2022-05-24 17:19:44 -04:00
2025-10-25 20:33:44 +09:00
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
2021-02-06 12:46:15 -05:00
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
2025-10-25 20:33:44 +09:00
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
2021-02-06 12:46:15 -05:00
2021-03-15 13:18:42 -04:00
#### Tcsh
2021-08-26 10:11:13 -04:00
Trage folgendes am Ende von `~/.bashrc` ein:
2021-03-15 13:18:42 -04:00
```sh
# ~/.tcshrc
eval `starship init tcsh`
```
2021-07-10 17:15:23 -04:00
2021-08-14 09:24:51 -04:00
#### Nushell
2021-07-10 17:15:23 -04:00
2025-10-25 20:33:44 +09:00
> [!WARNING] This will change in the future. Nur Nushell v0.96+ wird unterstützt.
2022-05-24 17:19:44 -04:00
2025-01-12 00:23:14 +09:00
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
2024-03-21 20:42:05 +09:00
2022-03-24 15:47:11 -05:00
```sh
2025-01-12 00:23:14 +09:00
mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
2022-03-24 15:47:11 -05:00
```
2021-08-14 09:24:51 -04:00
2023-07-30 09:29:01 -04:00
2021-08-14 09:24:51 -04:00
#### Xonsh
2021-11-07 18:07:39 +00:00
Füge folgendes an das Ende von `~/.xonshrc` hinzu:
2021-08-14 09:24:51 -04:00
```sh
# ~/.xonshrc
execx($(starship init xonsh))
```
2022-01-15 17:08:31 -05:00
2022-04-18 09:48:28 -05:00
#### ⌘ Cmd
2022-01-15 17:08:31 -05:00
2022-12-05 15:54:12 +09:00
Du musst [Clink](https://chrisant996.github.io/clink/clink.html) (v1.2.30+) mit Cmd verwenden. Trage folgendes in eine neue Datei namens `starship.lua` hinzu und lege diese Datei im Clink Scripts Verzeichnis ab:
2022-01-15 17:08:31 -05:00
```lua
-- starship.lua
load(io.popen('starship init cmd'):read("*a"))()
```