summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2024-04-15 00:15:11 +0900
committerMatan Kushner <hello@matchai.dev>2024-04-15 00:15:11 +0900
commit7c913dfc4f3ae900187c181a8583bbfc018b6953 (patch)
treee5e5ec001889e9c38cf4c3be0550eac09920f834
parentc4de4f5dada250d477368edf56360d926322680a (diff)
New translations readme.md (Russian)
-rw-r--r--docs/ru-RU/advanced-config/README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/ru-RU/advanced-config/README.md b/docs/ru-RU/advanced-config/README.md
index 44b8a7c12..2fbc0b676 100644
--- a/docs/ru-RU/advanced-config/README.md
+++ b/docs/ru-RU/advanced-config/README.md
@@ -84,20 +84,20 @@ enable_transience
The [Ble.sh](https://github.com/akinomyoga/ble.sh) framework at v0.4 or higher allows you to replace the previous-printed prompt with custom strings. This is useful in cases where all the prompt information is not always needed. To enable this, put this in `~/.bashrc` `bleopt prompt_ps1_transient=<value>`:
-The \<value\> here is a colon-separated list of `always`, `same-dir` and `trim`. When `prompt_ps1_final` is empty and this option has a non-empty value, the prompt specified by `PS1` is erased on leaving the current command line. If the value contains a field `trim`, only the last line of multiline `PS1` is preserved and the other lines are erased. Otherwise, the command line will be redrawn as if `PS1=` is specified. When a field `same-dir` is contained in the value and the current working directory is different from the final directory of the previous command line, this option `prompt_ps1_transient` is ignored.
+The \<value\> here is a colon-separated list of `always`, `same-dir` and `trim`. When `prompt_ps1_final` is empty and the option `prompt_ps1_transient` has a non-empty \<value\>, the prompt specified by `PS1` is erased on leaving the current command line. If \<value\> contains a field `trim`, only the last line of multiline `PS1` is preserved and the other lines are erased. Otherwise, the command line will be redrawn as if `PS1=` is specified. When a field `same-dir` is contained in \<value\> and the current working directory is different from the final directory of the previous command line, this option `prompt_ps1_transient` is ignored.
-Make the following changes to your `~/.bashrc` to customize what gets displayed on the left and on the right:
+Make the following changes to your `~/.blerc` (or in `~/.config/blesh/init.sh`) to customize what gets displayed on the left and on the right:
- To customize what the left side of input gets replaced with, configure the `prompt_ps1_final` Ble.sh option. For example, to display Starship's `character` module here, you would do
```bash
-bleopt prompt_ps1_final="$(starship module character)"
+bleopt prompt_ps1_final='$(starship module character)'
```
- To customize what the right side of input gets replaced with, configure the `prompt_rps1_final` Ble.sh option. For example, to display the time at which the last command was started here, you would do
```bash
-bleopt prompt_rps1_final="$(starship module time)"
+bleopt prompt_rps1_final='$(starship module time)'
```
## Custom pre-prompt and pre-execution Commands in Cmd
@@ -266,7 +266,7 @@ Note: Continuation prompts are only available in the following shells:
```toml
# ~/.config/starship.toml
-# A continuation prompt that displays two filled in arrows
+# A continuation prompt that displays two filled-in arrows
continuation_prompt = '▶▶ '
```
@@ -301,6 +301,6 @@ continuation_prompt = '▶▶ '
Не все строки стиля будут корректно отображаться в терминале. В частности, существуют следующие известные ошибки:
-- Во многих терминалах по умолчанию отключена поддержка `blink`
+- Many terminals disable support for `blink` by default.
- `hidden` [не поддерживается в iTerm](https://gitlab.com/gnachman/iterm2/-/issues/4564).
-- `strikethrough` по умолчанию не поддерживается в macOS Terminal.app
+- `strikethrough` is not supported by the default macOS Terminal.app.