mirror of
https://github.com/starship/starship.git
synced 2026-06-24 02:01:36 +07:00
docs(i18n): new Crowdin updates (#1512)
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
- **Конфигурация**: [matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
|
||||
- **Подсказка**: [Starship](https://starship.rs/)
|
||||
|
||||
## `prompt_order` и `<module>.disabled` - это одно и то же?
|
||||
## Do top level `format` and `<module>.disabled` do the same thing?
|
||||
|
||||
Да, они могут быть использованы для отключения модулей в подсказке. Если всё, что вы хотите сделать - это отключить модули, `<module>.disabled` - предпочитаемый способ сделать это по следующим причинам:
|
||||
|
||||
- Отключение модулей является более явным, чем удаление их из prompt_order
|
||||
- Disabling modules is more explicit than omitting them from the top level `format`
|
||||
- Новосозданные модули будут добавлены в подсказку по мере обновления Starship
|
||||
|
||||
## В документации написано, что Starship - для многих оболочек, но он не поддерживает оболочку X. Почему?
|
||||
@@ -46,7 +46,7 @@ starship prompt --help
|
||||
|
||||
## Как запускать Starship на Linux-дистрибутивах с более ранними версиями glibc?
|
||||
|
||||
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
|
||||
Если вы получаете ошибку типа "_version 'GLIBC_2.18' not found (required by starship)_" при использовании заранее собранного бинарного файла (например, на CentOS 6 или 7), вы можете использовать бинарный файл, скомпилированый с `musl` вместо `glibc`:
|
||||
|
||||
```sh
|
||||
curl -fsSL https://starship.rs/install.sh | bash -s -- --platform unknown-linux-musl
|
||||
|
||||
Reference in New Issue
Block a user