4c3c75a0e9
* New translations readme.md (Ukrainian) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Ukrainian) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Ukrainian) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Turkish) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations tokyo-night.md (Vietnamese) * New translations gruvbox-rainbow.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations bracketed-segments.md (Vietnamese) * New translations nerd-font.md (Vietnamese) * New translations no-runtimes.md (Vietnamese) * New translations plain-text.md (Vietnamese) * New translations pure-preset.md (Vietnamese) * New translations pastel-powerline.md (Vietnamese) * New translations no-nerd-font.md (Vietnamese) * New translations no-empty-icons.md (Vietnamese) * New translations gruvbox-rainbow.md (Vietnamese) * New translations jetpack.md (Vietnamese) * New translations readme.md (French) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (Spanish) * New translations readme.md (Arabic) * New translations readme.md (Arabic) * New translations readme.md (German) * New translations readme.md (German) * New translations readme.md (Italian) * New translations readme.md (Italian) * New translations readme.md (Japanese) * New translations readme.md (Japanese) * New translations readme.md (Korean) * New translations readme.md (Korean) * New translations readme.md (Dutch) * New translations readme.md (Dutch) * New translations readme.md (Norwegian) * New translations readme.md (Norwegian) * New translations readme.md (Polish) * New translations readme.md (Polish) * New translations readme.md (Portuguese) * New translations readme.md (Portuguese) * New translations readme.md (Russian) * New translations readme.md (Russian) * New translations readme.md (Turkish) * New translations readme.md (Turkish) * New translations readme.md (Ukrainian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Indonesian) * New translations readme.md (Bengali) * New translations readme.md (Bengali) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (Sorani (Kurdish)) * New translations readme.md (French) * New translations readme.md (Spanish) * New translations readme.md (German) * New translations readme.md (Japanese) * New translations readme.md (Russian) * New translations readme.md (Ukrainian) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Traditional) * New translations readme.md (Vietnamese) * New translations readme.md (Portuguese, Brazilian) * New translations readme.md (Indonesian) * New translations readme.md (Vietnamese) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Chinese Simplified) * New translations readme.md (Russian) |
||
---|---|---|
.. | ||
advanced-config | ||
config | ||
faq | ||
guide | ||
installing | ||
migrating-to-0.45.0 | ||
presets | ||
README.md |
layout | hero | features | footer | metaTitle | description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
home |
|
|
Licencja ISC | Copyright © 2019-obecnie Kontrybutorzy Starship | Starship: Wiersz poleceń dla dowolnej powłoki | Starship to minimalny, szybki i ekstremalnie konfigurowalny wiersz poleceń dla każdej powłoki! Pokazuje informacje których potrzebujesz, pozostając elegancki i minimalny. Szybka instalacja dostępna dla powłok Bash, Fish, ZSH, Ion, Tcsh, Elvish, Nu, Xonsh, Cmd i PowerShell. |
Wymagania wstępne
- Czcionka typu Nerd Font zainstalowana i włączona w twoim terminalu.
Instalacja
-
Zainstaluj plik programu starship:
Instalacja najnowszej wersji
Za pomocą powłoki:
curl -sS https://starship.rs/install.sh | sh
Aby zaktualizować Starship, uruchom ponownie powyższy skrypt. Obecna wersja zostanie zastąpiona nową, bez modyfikowania konfiguracji Starship.
Instalacja za pomocą menedżera pakietów
Za pomocą Homebrew:
brew install starship
Za pomocą Winget:
winget install starship
-
Dodaj skrypt inicjalizacyjny do konfiguracji twojej powłoki:
Bash
Dodaj na koniec pliku
~/.bashrc
:# ~/.bashrc eval "$(starship init bash)"
Fish
Dodaj na koniec pliku
~/.config/fish/config.fish
:# ~/.config/fish/config.fish starship init fish | source
Zsh
Dodaj na koniec pliku
~/.zshrc
:# ~/.zshrc eval "$(starship init zsh)"
Powershell
Dodaj na koniec pliku
Microsoft.PowerShell_profile.ps1
. Możesz sprawdzić lokalizację tego pliku odczytując zmienną środowiskową$PROFILE
w PowerShell. Zazwyczaj jest to~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
lub~/.config/powershell/Microsoft.PowerShell_profile.ps1
na -Nixie.Invoke-Expression (&starship init powershell)
Ion
Dodaj na koniec pliku
~/.config/ion/initrc
:# ~/.config/ion/initrc eval $(starship init ion)
Elvish
::: warning
Działa tylko dla elvish v0.18 albo wyższej wersji.
:::
Dodaj na koniec pliku
~/.elvish/rc.elv
:# ~/.elvish/rc.elv eval (starship init elvish)
Tcsh
Dodaj na koniec pliku
~/.tcshrc
:# ~/.tcshrc eval `starship init tcsh`
Nushell
::: warning
Ten sposób zmieni się w przyszłości. Działa tylko na Nushell v0.78+.
:::
Dodaj następujący kod na koniec twojego pliku env Nushell (możesz go znaleść za pomocą
$nu.env-path
w Nushell):mkdir ~/.cache/starship starship init nu | save -f ~/.cache/starship/init.nu
Dodaj następujący kod na koniec Twojego pliku konfiguracyjnego Nushell (możesz go znaleźć uruchamiając
$nu.config-path
):use ~/.cache/starship/init.nu
Xonsh
Dodaj na koniec pliku
~/.xonshrc
:# ~/.xonshrc execx($(starship init xonsh))
Cmd
Musisz użyć Clink (v1.2.30+) z Cmd. Dodaj następujący kod do pliku
starship.lua
i przenieś ten plik do folderu ze skryptami Clink:-- starship.lua load(io.popen('starship init cmd'):read("*a"))()