summaryrefslogtreecommitdiffstats
path: root/docs/ko-KR/config/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ko-KR/config/README.md')
-rw-r--r--docs/ko-KR/config/README.md33
1 files changed, 24 insertions, 9 deletions
diff --git a/docs/ko-KR/config/README.md b/docs/ko-KR/config/README.md
index d5aa335ed..396fbb2c9 100644
--- a/docs/ko-KR/config/README.md
+++ b/docs/ko-KR/config/README.md
@@ -1060,7 +1060,7 @@ format = 'via [🦕 $version](green bold) '
The `directory` module shows the path to your current directory, truncated to three parent folders. Your directory will also be truncated to the root of the git repo that you're currently in.
-When using the fish style pwd option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
+When using the `fish_style_pwd_dir_length` option, instead of hiding the path that is truncated, you will see a shortened name of each directory based on the number you enable for the option.
For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, and the option set to `1`. You will now see `~/D/N/nixpkgs/pkgs`, whereas before it would have been `nixpkgs/pkgs`.
@@ -3607,14 +3607,15 @@ The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/int
### Options
-| Option | Default | Description |
-| ----------- | ---------------------------- | ------------------------------------------------------------- |
-| `threshold` | `2` | Display threshold. |
-| `format` | `'[$symbol$shlvl]($style) '` | The format for the module. |
-| `symbol` | `'↕️ '` | The symbol used to represent the `SHLVL`. |
-| `repeat` | `false` | Causes `symbol` to be repeated by the current `SHLVL` amount. |
-| `style` | `'bold yellow'` | The style for the module. |
-| `disabled` | `true` | Disables the `shlvl` module. |
+| Option | Default | Description |
+| --------------- | ---------------------------- | ------------------------------------------------------------------- |
+| `threshold` | `2` | Display threshold. |
+| `format` | `'[$symbol$shlvl]($style) '` | The format for the module. |
+| `symbol` | `'↕️ '` | The symbol used to represent the `SHLVL`. |
+| `repeat` | `false` | Causes `symbol` to be repeated by the current `SHLVL` amount. |
+| `repeat_offset` | `0` | Decrements number of times `symbol` is repeated by the offset value |
+| `style` | `'bold yellow'` | The style for the module. |
+| `disabled` | `true` | Disables the `shlvl` module. |
### Variables
@@ -3637,6 +3638,20 @@ format = '$shlvl level(s) down'
threshold = 3
```
+Using `repeat` and `repeat_offset` along with `character` module, one can get prompt like `❯❯❯` where last character is colored appropriately for return status code and preceeding characters are provided by `shlvl`.
+
+```toml
+# ~/.config/starship.toml
+
+[shlvl]
+disabled = false
+format = '[$symbol$shlvl]($style)'
+repeat = true
+symbol = '❯'
+repeat_offset = 1
+threshold = 0
+```
+
## Singularity
The `singularity` module shows the current [Singularity](https://sylabs.io/singularity/) image, if inside a container and `$SINGULARITY_NAME` is set.