From cacb0a685f342a551c90c380bcf5925259953789 Mon Sep 17 00:00:00 2001 From: Alex L Date: Sun, 18 Jul 2021 04:55:07 +0800 Subject: [PATCH] docs: update git_commit default format (#2898) --- 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 01c305fe..08f60582 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -1189,7 +1189,7 @@ The `git_commit` module shows the current commit hash and also the tag (if any) | Option | Default | Description | | -------------------- | ---------------------------------------------- | ------------------------------------------------------- | | `commit_hash_length` | `7` | The length of the displayed git commit hash. | -| `format` | `"[\\($hash\\)]($style) [\\($tag\\)]($style)"` | The format for the module. | +| `format` | `"[\\($hash$tag\\)]($style) "` | The format for the module. | | `style` | `"bold green"` | The style for the module. | | `only_detached` | `true` | Only show git commit hash when in detached `HEAD` state | | `tag_disabled` | `true` | Disables showing tag info in `git_commit` module. |