summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex L <cfal@users.noreply.github.com>2021-07-18 04:55:07 +0800
committerGitHub <noreply@github.com>2021-07-17 16:55:07 -0400
commitcacb0a685f342a551c90c380bcf5925259953789 (patch)
tree2560768703d851b70a3c5abaebcc501d6519baac
parent31932c2990aaa197c568088c876b871ae72de7f5 (diff)
docs: update git_commit default format (#2898)
-rw-r--r--docs/config/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index 01c305fe1..08f60582a 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. |