summaryrefslogtreecommitdiffstats
path: root/docs/uk-UA/faq/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/uk-UA/faq/README.md')
-rw-r--r--docs/uk-UA/faq/README.md98
1 files changed, 49 insertions, 49 deletions
diff --git a/docs/uk-UA/faq/README.md b/docs/uk-UA/faq/README.md
index 41bb2d391..2d1f9fd2f 100644
--- a/docs/uk-UA/faq/README.md
+++ b/docs/uk-UA/faq/README.md
@@ -1,120 +1,120 @@
-# Frequently Asked Questions
+# Часті питання
-## What is the configuration used in the demo GIF?
+## Які налаштування використовуються в демо-GIF?
-- **Terminal Emulator**: [iTerm2](https://iterm2.com/)
- - **Theme**: Minimal
- - **Color Scheme**: [Snazzy](https://github.com/sindresorhus/iterm2-snazzy)
- - **Font**: [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)
-- **Shell**: [Fish Shell](https://fishshell.com/)
- - **Configuration**: [matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
- - **Prompt**: [Starship](https://starship.rs/)
+- **Емулятор термінала**: [iTerm2](https://iterm2.com/)
+ - **Тема**: Minimal
+ - **Схема кольорів**: [Snazzy](https://github.com/sindresorhus/iterm2-snazzy)
+ - **Шрифт**: [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)
+- **Оболонка**: [Fish Shell](https://fishshell.com/)
+ - **Налаштування**: [matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
+ - **Командний рядок**: [Starship](https://starship.rs/)
-## How do I get command completion as shown in the demo GIF?
+## Як зробити завершення команди як показано в демо-GIF?
-Completion support, or autocomplete, is provided by your shell of choice. In the case of the demo, the demo was done with [Fish Shell](https://fishshell.com/), which provides completions by default. If you use Z Shell (zsh), I'd suggest taking a look at [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions).
+Підтримка завершення або автозаповнення, надається вашою оболонкою. У випадку з демо, воно було зроблене у [Fish Shell](https://fishshell.com/), яке стандартно забезпечує доповнення команд. Якщо ви використовуєте Z Shell (zsh), ви можете глянути на [zsh-autosuggions](https://github.com/zsh-users/zsh-autosuggestions).
-## Do top level `format` and `<module>.disabled` do the same thing?
+## Чи `format` та `<module>.`disabled верхнього рівня роблять теж саме?
-Yes, they can both be used to disable modules in the prompt. If all you plan to do is disable modules, `<module>.disabled` is the preferred way to do so for these reasons:
+Так, вони обидва можуть використовуватись для вимикання модулів у командному рядку. Якщо ви плануєте вимикати модулі, `<module>.disabled` є переважним способом бо:
-- Disabling modules is more explicit than omitting them from the top level `format`
-- Newly created modules will be added to the prompt as Starship is updated
+- Вимкнення модулів є більш явною дією аніж приховування їх у `format`
+- Нові створені модулі будуть додані до командного рядка, оскільки Starship оновлюється
-## The docs say Starship is cross-shell. Why isn't my preferred shell supported?
+## В документації йдеться, що Starship є крос-оболонковим. Чому ж тоді моя оболонка не підтримується?
-The way Starship is built, it should be possible to add support for virtually any shell. The starship binary is stateless and shell agnostic, so as long as your shell supports prompt customization and shell expansion, Starship can be used.
+Через те, яким чином Starship побудований, підтримку практично будь-якої оболонки можна достатньо легко додати. Двійковий файл starship не має статусу та не залежить від оболонки, тому Starship можна використовувати, якщо ваша оболонка підтримує оперативне налаштування та розширення оболонки.
-Here's a small example getting Starship working with bash:
+Ось маленький приклад того, як зробити так, щоб Starship працював в bash:
```sh
-# Get the status code from the last command executed
+# Отримати код статусу виконання з останньої команди
STATUS=$?
-# Get the number of jobs running.
+# Отримати кількість запущених завдань.
NUM_JOBS=$(jobs -p | wc -l)
-# Set the prompt to the output of `starship prompt`
+# Встановити для командного рядка вивід `starship prompt`
PS1="$(starship prompt --status=$STATUS --jobs=$NUM_JOBS)"
```
-The [Bash implementation](https://github.com/starship/starship/blob/master/src/init/starship.bash) built into Starship is slightly more complex to allow for advanced features like the [Command Duration module](https://starship.rs/config/#command-duration) and to ensure that Starship is compatible with pre-installed Bash configurations.
+Реалізація [Bash](https://github.com/starship/starship/blob/master/src/init/starship.bash) створена в Starship є трохи складнішою, щоб дозволити використання додаткових функцій, таких як модуль [Command Duration](https://starship.rs/config/#command-duration) і переконатися, що Starship сумісний із попередньо встановленими конфігураціями Bash.
-For a list of all flags accepted by `starship prompt`, use the following command:
+Для отримання переліку всіх прапорів, які приймаються `starship prompt`, скористайтесь наступною командою:
```sh
starship prompt --help
```
-The prompt will use as much context as is provided, but no flags are "required".
+Командний рядок використовуватиме якомога більше отриманого контексту, однак прапорці не є "обовʼязковими".
-## How do I run Starship on Linux distributions with older versions of glibc?
+## Як запустити 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`:
+Якщо ви отримуєте помилку_версію 'GLIBC_2.18' не знайдено (потрібна для starship)_при використанні вбудованого бінарного файлу (наприклад, на CentOS 6 або 7), ви можете використовувати бінарний файл скомпільований з підтримкою `musl` замість `glibc`:
```sh
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
```
-## Why do I see `Executing command "..." timed out.` warnings?
+## Чому я бачу попередження `Executing command "..." timed out.`?
-Starship executes different commands to get information to display in the prompt, for example the version of a program or the current git status. To make sure starship doesn't hang while trying to execute these commands we set a time limit, if a command takes longer than this limit starship will stop the execution of the command and output the above warning, this is expected behaviour. This time limit is configurable using the [`command_timeout`key](/config/#prompt) so if you want you can increase the time limit. You can also follow the debugging steps below to see which command is being slow and see if you can optimise it. Finally you can set the `STARSHIP_LOG` env var to `error` to hide these warnings.
+Starship виконує різні команди, щоб отримати інформацію для показу в командному рядку, наприклад версію програми або поточного статусу git. Щоб переконатися, що starship не підвис, намагаючись виконати ці команди, ми встановлюємо ліміт, якщо виконання команди займе більше часу, starship зупинить виконання команди та видасть попередження, це очікувана поведінка. Цей ліміт часу можна налаштувати за допомогою [ ключа `command_timeout`](/config/#prompt), так що, якщо ви хочете, ви можете збільшити ліміт часу. Ви можете також виконати дії для відлагодження, щоб побачити, яка команда є повільною і подивитися, чи ви можете її оптимізувати. Нарешті ви можете встановити `STARSHIP_LOG` у `error`, щоб приховати ці попередження.
-## I see symbols I don't understand or expect, what do they mean?
+## Я бачу якісь символи, але не розумію, що вони значать?
-If you see symbols that you don't recognise you can use `starship explain` to explain the currently showing modules.
+Якщо ви бачите символи, які ви не можете розпізнати, ви можете скористатись `starship explain`, для отримання пояснень для показаних модулів.
-## Starship is doing something unexpected, how can I debug it?
+## Starship робить щось несподіване, як я можу налагодити його?
-You can enable the debug logs by using the `STARSHIP_LOG` env var. These logs can be very verbose so it is often useful to use the `module` command if you are trying to debug a particular module, for example, if you are trying to debug the `rust` module you could run the following command to get the trace logs and output from the module.
+Ви можете увімкнути журнал налагодження за допомогою змінної оточення `STARSHIP_LOG`. Ці журнали можуть бути дуже докладними, тому часто корисно використовувати команду `module`, якщо ви намагаєтеся налагодити певний модуль, наприклад, якщо ви намагаєтеся налагодити `rust`, ви можете виконати таку команду, щоб отримати журнали трасування та вивід модуля.
```sh
env STARSHIP_LOG=trace starship module rust
```
-If starship is being slow you can try using the `timings` command to see if there is a particular module or command that to blame.
+Якщо Starship працює повільно, ви можете спробувати використати команду `timings`, щоб побачити, чи є певний модуль або команда, які можна в цьому звинуватити.
```sh
env STARSHIP_LOG=trace starship timings
```
-This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output.
+Це виведе журнал трасування та розбивку всіх модулів, для виконання яких знадобилося понад 1 мс, або вони дали певні результати.
-Finally if you find a bug you can use the `bug-report` command to create a GitHub issue.
+Нарешті, якщо ви знайшли помилку, ви можете використати команду `bug-report`, щоб створити квиток в GitHub.
```sh
starship bug-report
```
-## Why don't I see a glyph symbol in my prompt?
+## Чому я не бачу символу гліфа в командному рядку?
-The most common cause of this is system misconfiguration. Some Linux distros in particular do not come with font support out-of-the-box. You need to ensure that:
+Найпоширенішою причиною цього є неправильна конфігурація системи. Зокрема, деякі дистрибутиви Linux не мають підтримки шрифтів із коробки. Ви повинні переконатись, що:
-- Your locale is set to a UTF-8 value, like `de_DE.UTF-8` or `ja_JP.UTF-8`. If `LC_ALL` is not a UTF-8 value, [you will need to change it](https://www.tecmint.com/set-system-locales-in-linux/).
-- You have an emoji font installed. Most systems come with an emoji font by default, but some (notably Arch Linux) do not. You can usually install one through your system's package manager--[noto emoji](https://www.google.com/get/noto/help/emoji/) is a popular choice.
-- You are using a [Nerd Font](https://www.nerdfonts.com/).
+- Для вашої мови встановлено значення UTF-8, наприклад `de_DE.UTF-8` або `ja_JP.UTF-8`. Якщо `LC_ALL` не є значенням UTF-8, [вам потрібно буде його змінити](https://www.tecmint.com/set-system-locales-in-linux/).
+- У вас встановлено шрифт для emoji. Більшість систем стандартно мають шрифт для показу emoji, але деякі (зокрема Arch Linux) — ні. Зазвичай ви можете встановити його через системний менеджер пакунків – [noto emoji](https://www.google.com/get/noto/help/emoji/) є популярним вибором.
+- Ви використовуєте [Nerd Font](https://www.nerdfonts.com/).
-To test your system, run the following commands in a terminal:
+Щоб перевірити свою систему, виконайте наступні команди в терміналі:
```sh
echo -e "\xf0\x9f\x90\x8d"
echo -e "\xee\x82\xa0"
```
-The first line should produce a [snake emoji](https://emojipedia.org/snake/), while the second should produce a [powerline branch symbol (e0a0)](https://github.com/ryanoasis/powerline-extra-symbols#glyphs).
+У першому рядку має бути [емодзі змії](https://emojipedia.org/snake/), у той час як другий має показати [символ гілки (e0a0)](https://github.com/ryanoasis/powerline-extra-symbols#glyphs).
-If either symbol fails to display correctly, your system is still misconfigured. Unfortunately, getting font configuration correct is sometimes difficult. Users on the Discord may be able to help. If both symbols display correctly, but you still don't see them in starship, [file a bug report!](https://github.com/starship/starship/issues/new/choose)
+Якщо будь-який символ не показується належним чином, ваша система все ще не налаштована правильно. На жаль, інколи важко налаштувати правильну конфігурацію шрифту. Користувачі в Discord можуть допомогти. Якщо обидва символи відображаються правильно, але ви все одно не бачите їх у starship, [надішліть звіт про помилку!](https://github.com/starship/starship/issues/new/choose)
-## How do I uninstall Starship?
+## Як видалити Starship?
-Starship is just as easy to uninstall as it is to install in the first place.
+Starship так само легко видалити, як і встановити.
-1. Remove any lines in your shell config (e.g. `~/.bashrc`) used to initialize Starship.
-1. Delete the Starship binary.
+1. Видаліть усі рядки у конфігурації оболонки (наприклад, `~/.bashrc`), які використовуються для ініціалізації Starship.
+1. Видаліть двійковий файл Starship.
-If Starship was installed using a package manager, please refer to their docs for uninstallation instructions.
+Якщо Starship був встановлений за допомогою менеджера пакунків, будь ласка, зверніться до документації по їх видаленню.
-If Starship was installed using the install script, the following command will delete the binary:
+Якщо Starship було встановлено за допомогою сценарію встановлення, наступна команда видалить двійковий файл:
```sh
# Locate and delete the starship binary