mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat: Add prefix config to directory module (#642)
This commit is contained in:
committed by
Matan Kushner
parent
9f574eaabd
commit
dee25c7b35
@@ -303,6 +303,7 @@ style = "dimmed green"
|
||||
| ------------------- | ------------- | ---------------------------------------------------------------------------- |
|
||||
| `truncation_length` | `3` | Количество родительских папок, к которым должен быть усечен текущий каталог. |
|
||||
| `truncate_to_repo` | `true` | Следует или нет обрезать до корня репозитория git, в котором вы находитесь. |
|
||||
| `prefix` | `"in "` | Prefix to display immediately before the directory. |
|
||||
| `style` | `"bold cyan"` | Стиль модуля. |
|
||||
| `disabled` | `false` | Отключает модуль `directory`. |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user