mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
home, heroImage, heroText, tagline, actionText, actionLink, features, footer, metaTitle, description
| home | heroImage | heroText | tagline | actionText | actionLink | features | footer | metaTitle | description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| true | /logo.svg | Минималистичная, быстрая и бесконечно настраиваемая командная строка для любой оболочки! | Начало работы → | ./guide/ |
|
Под лицензией ISC | Авторское право © 2019-настоящее Starship Contributors | Starship: Cross-Shell Prompt | Starship - минимальная, быстрая и бесконечная настраиваемая командная строка для любой оболочки! Показывает нужную вам информацию, оставаясь красивой и минималистичной. Быстрая установка доступна для Bash, Fish, ZSH, Ion и PowerShell. |
Быстрая установка
-
Установите двоичный файл starship:
Установить последнюю версию
Через Bash:
curl -fsSL https://starship.rs/install.sh | bashУстановить через менеджер пакетов
С Homebrew:
brew install starshipС Scoop:
scoop install starship -
Добавить сценарий инициализации в конфигурационный файл вашей оболочки:
Bash
Добавьте следующее в конец
~/.bashrc:# ~/.bashrc eval "$(starship init bash)"Fish
Добавьте следующее в конец
~/.config/fish/config.fish:# ~/.config/fish/config.fish starship init fish | sourceZsh
Добавьте следующее в конец
~/.zshrc:# ~/.zshrc eval "$(starship init zsh)"PowerShell
Добавьте следующее в конец
Microsoft.PowerShell_profile.ps1. Вы можете проверить местоположение этого файла, запросив переменную$PROFILEв PowerShell. Обычно он находится в~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1или~/.config/powershell/Microsoft.PowerShell_profile.ps1на -Nix.Invoke-Expression (&starship init powershell)Ion
Добавьте следующее в конец
~/.config/ion/initrc:# ~/.config/ion/initrc eval $(starship init ion)Elvish
::: warning Only elvish v0.15 or higher is supported. :::
Add the following to the end of
~/.elvish/rc.elv:# ~/.elvish/rc.elv eval (starship init elvish)