diff options
author | Thomas O'Donnell <andytom@users.noreply.github.com> | 2020-10-12 06:10:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 00:10:39 -0400 |
commit | 9044f9e14ca36a70d748810a0c4eda89d3f18391 (patch) | |
tree | a766350cd38cb822234c0c1dfc3cd573fba6351f /docs/migrating-to-0.45.0/README.md | |
parent | e7a83aa445a6b48cde05b51a30e19d02042ca0b0 (diff) |
docs: Update defaults in config docs (#1759)
Have updated some of the config docs to correct the git_status default
that was incorrect. Have also taken the time to switch some of the
format strings to use toml literal strings rather than normal strings to
simplify the escape strings.
Diffstat (limited to 'docs/migrating-to-0.45.0/README.md')
-rw-r--r-- | docs/migrating-to-0.45.0/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/migrating-to-0.45.0/README.md b/docs/migrating-to-0.45.0/README.md index 1e484a609..8af694483 100644 --- a/docs/migrating-to-0.45.0/README.md +++ b/docs/migrating-to-0.45.0/README.md @@ -168,7 +168,7 @@ error_symbol = "[✖](bold red)" [git_commit] -- prefix = "(" -- suffix = ")" -++ format = "[\\($hash\\)]($style) " +++ format = '[\($hash\)]($style) ' ``` #### Git Status @@ -186,7 +186,7 @@ error_symbol = "[✖](bold red)" -- prefix = "[" -- suffix = "]" -- show_sync_count = false -++ format = "[\\[$all_status$ahead_behind\\]]($style)" +++ format = '([\[$all_status$ahead_behind\]]($style) )' ``` Previously, the `show_sync_count` property was used to configure the prompt to @@ -234,7 +234,7 @@ behind = "⇣${count}" [singularity] -- prefix = "" -- suffix = "" -++ format = "[$symbol\\[$env\\]]($style) " +++ format = '[$symbol\[$env\]]($style) ' ``` #### Time |