From b7681a00cab4b5eb672163b4a76695716dd83e56 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Mon, 11 Jun 2018 08:38:30 +0200 Subject: [PATCH] Fix variable in README - Fix the variable name for the VCS shorten strategy. - Add a heading for VCS truncation. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e01e915..90680ac8 100644 --- a/README.md +++ b/README.md @@ -660,6 +660,8 @@ from the [Installation](#Installation) section above. | None | None | ![icon_git](https://cloud.githubusercontent.com/assets/1544760/7976092/b5909f80-0a76-11e5-9950-1438b9d72465.gif) | Repository is a git repository | None | None | ![icon_mercurial](https://cloud.githubusercontent.com/assets/1544760/7976090/b5908da6-0a76-11e5-8c91-452b6e73f631.gif) | Repository is a Mercurial repository +##### vcs truncation + You can limit the branch name to a certain length by truncating long names. Customizations available are: @@ -679,7 +681,7 @@ For example, if you want to truncate `1234-super_super_long_branch_name` to `123 ```zsh POWERLEVEL9K_VCS_SHORTEN_LENGTH=4 POWERLEVEL9K_VCS_SHORTEN_MIN_LENGTH=11 -POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" +POWERLEVEL9K_VCS_SHORTEN_STRATEGY="truncate_from_right" POWERLEVEL9K_VCS_SHORTEN_DELIMITER=".." ```