Fix variable in README
- Fix the variable name for the VCS shorten strategy. - Add a heading for VCS truncation.pull/22/head
parent
51b53cd4b5
commit
b7681a00ca
|
@ -660,6 +660,8 @@ from the [Installation](#Installation) section above.
|
||||||
| None | None |  | Repository is a git repository
|
| None | None |  | Repository is a git repository
|
||||||
| None | None |  | Repository is a Mercurial repository
|
| None | None |  | Repository is a Mercurial repository
|
||||||
|
|
||||||
|
##### vcs truncation
|
||||||
|
|
||||||
You can limit the branch name to a certain length by truncating long names.
|
You can limit the branch name to a certain length by truncating long names.
|
||||||
Customizations available are:
|
Customizations available are:
|
||||||
|
|
||||||
|
@ -679,7 +681,7 @@ For example, if you want to truncate `1234-super_super_long_branch_name` to `123
|
||||||
```zsh
|
```zsh
|
||||||
POWERLEVEL9K_VCS_SHORTEN_LENGTH=4
|
POWERLEVEL9K_VCS_SHORTEN_LENGTH=4
|
||||||
POWERLEVEL9K_VCS_SHORTEN_MIN_LENGTH=11
|
POWERLEVEL9K_VCS_SHORTEN_MIN_LENGTH=11
|
||||||
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right"
|
POWERLEVEL9K_VCS_SHORTEN_STRATEGY="truncate_from_right"
|
||||||
POWERLEVEL9K_VCS_SHORTEN_DELIMITER=".."
|
POWERLEVEL9K_VCS_SHORTEN_DELIMITER=".."
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue