aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2018-06-11 09:38:30 +0300
committerDominik Ritter <dritter03@googlemail.com>2018-06-11 22:59:33 +0300
commitb7681a00cab4b5eb672163b4a76695716dd83e56 (patch)
treec6d19598e33adee0cdceee97a2e9c69e342670ce /README.md
parent51b53cd4b5e715ae148ba588ea573491cdcc17c5 (diff)
Fix variable in README
- Fix the variable name for the VCS shorten strategy. - Add a heading for VCS truncation.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
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=".."
```