From 70dcd33aa2f7e2e54c6d4eb79f86b4348b0e5ffe Mon Sep 17 00:00:00 2001 From: Kesavan Yogeswaran Date: Sun, 6 Dec 2020 15:02:15 -0500 Subject: [PATCH] docs(conda): Fix default format in Conda module's config doc (#1965) * docs: Fix default format string for Conda module #### Issues Addressed The default `format` string for the Conda module starts with "via", as seen [here](https://github.com/starship/starship/blob/2e763b5e7c41dd556c9515bdc36297bc177d7f46/src/configs/conda.rs#L19). However, this is not reflected in the config docs. Many similar modules include "via" in their default format string so I assume including it is the intended behavior, and that the doc should be updated. #### Summary of Changes Correct the default `format` string for the Conda module in the config docs. * Revert changes to i18n files Revert changes to i18n files, as these must be handled by Crowdin --- docs/config/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/README.md b/docs/config/README.md index 423b39f9..8b80e4d1 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -542,7 +542,7 @@ This does not suppress conda's own prompt modifier, you may want to run `conda c | `truncation_length` | `1` | The number of directories the environment path should be truncated to, if the environment was created via `conda create -p [path]`. `0` means no truncation. Also see the [`directory`](#directory) module. | | `symbol` | `"🅒 "` | The symbol used before the environment name. | | `style` | `"bold green"` | The style for the module. | -| `format` | `"[$symbol$environment]($style) "` | The format for the module. | +| `format` | `"via [$symbol$environment]($style) "` | The format for the module. | | `ignore_base` | `true` | Ignores `base` environment when activated. | | `disabled` | `false` | Disables the `conda` module. |