1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-21 02:19:01 +00:00
starship/docs/ru-RU/README.md
2019-12-24 16:54:29 -05:00

115 lines
2.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
home: true
heroImage: /logo.svg
actionText: Начало работы →
actionLink: /guide/
footer: Под лицензией ISC | Авторское право © 2019-настоящее Starship Contributors
---
<div class="features">
<div class="feature">
<h2>Совместивость в первую очередь</h2>
<p>Работает на большинстве распространенных оболочек и наиболее распространенных операционных системах. Используйте везде!</p>
</div>
<div class="feature">
<h2>Основана на Rust</h2>
<p>Приносит наилучшую в своем классе скорость и безопасность Rust, чтобы сделать вашу подсказку как можно быстрее и надежнее.</p>
</div>
<div class="feature">
<h2>Настраиваемая</h2>
<p>Каждая маленькая деталь настраивается по вашему вкусу, чтобы сделать эту подсказку минимальной или функциональной, как вы захотите.</p>
</div>
</div>
<div class="center">
<video class="demo-video" muted autoplay loop playsinline>
<source src="/demo.webm" type="video/webm">
<source src="/demo.mp4" type="video/mp4">
</video>
</div>
### Быстрая установка
1. Установите двоичный файл **starship**:
#### Установить последнюю версию
Через Bash:
```sh
curl -fsSL https://starship.rs/install.sh | bash
```
#### Установить через менеджер пакетов
С [Homebrew](https://brew.sh/):
```sh
brew install starship
```
С [Scoop](https://scoop.sh):
```powershell
scoop install starship
```
1. Добавить сценарий инициализации в конфигурационный файл вашей оболочки:
#### Bash
Добавьте следующее в конец `~/.bashrc`:
```sh
# ~/.bashrc
eval "$(starship init bash)"
```
#### Fish
Добавьте следующее в конец `~/.config/fish/config.fish`:
```sh
# ~/.config/fish/config.fish
starship init fish | source
```
#### Zsh
Добавьте следующее в конец `~/.zshrc`:
```sh
# ~/.zshrc
eval "$(starship init zsh)"
```
#### PowerShell
Добавьте следующее в конец `~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` (или `~/.config/powershell/Microsoft.PowerShell_profile.ps1` на -Nix):
```sh
# ~\Documents\PowerShell\Profile.ps1
Invoke-Expression (&starship init powershell)
```
#### Ion
Добавьте следующее в конец `~/.config/ion/initrc`:
```sh
# ~/.config/ion/initrc
eval $(starship init ion)
```