|
|
@ -46,6 +46,8 @@ like with a normal installation and default settings:
|
|
|
|
- [Further color customizations](#further-color-customizations)
|
|
|
|
- [Further color customizations](#further-color-customizations)
|
|
|
|
- [Troubleshooting](#troubleshooting)
|
|
|
|
- [Troubleshooting](#troubleshooting)
|
|
|
|
- [Gaps Between Segments](#gaps-between-segments)
|
|
|
|
- [Gaps Between Segments](#gaps-between-segments)
|
|
|
|
|
|
|
|
- [Meta](#meta)
|
|
|
|
|
|
|
|
- [Kudos](#kudos)
|
|
|
|
- [Contributions / Bugs / Contact](#contributions--bugs--contact)
|
|
|
|
- [Contributions / Bugs / Contact](#contributions--bugs--contact)
|
|
|
|
|
|
|
|
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
@ -280,14 +282,15 @@ would also like for it to display the current hash / changeset, simply define
|
|
|
|
`POWERLEVEL9K_SHOW_CHANGESET` in your `~/.zshrc`. If activated, it will show
|
|
|
|
`POWERLEVEL9K_SHOW_CHANGESET` in your `~/.zshrc`. If activated, it will show
|
|
|
|
the first 12 characters of the changeset id. To change the amount of characters,
|
|
|
|
the first 12 characters of the changeset id. To change the amount of characters,
|
|
|
|
set `POWERLEVEL9K_CHANGESET_HASH_LENGTH` to any value you want.
|
|
|
|
set `POWERLEVEL9K_CHANGESET_HASH_LENGTH` to any value you want.
|
|
|
|
By setting `POWERLEVEL9K_SHOW_BRANCH_ICON` it shows a nice icon before the
|
|
|
|
|
|
|
|
branch name.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# enable the vcs segment in general
|
|
|
|
# enable the vcs segment in general
|
|
|
|
POWERLEVEL9K_SHOW_CHANGESET=true
|
|
|
|
POWERLEVEL9K_SHOW_CHANGESET=true
|
|
|
|
# just show the 6 first characters of changeset
|
|
|
|
# just show the 6 first characters of changeset
|
|
|
|
POWERLEVEL9K_CHANGESET_HASH_LENGTH=6
|
|
|
|
POWERLEVEL9K_CHANGESET_HASH_LENGTH=6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can also enable an additional branch icon in your prompt by setting
|
|
|
|
|
|
|
|
`POWERLEVEL9K_SHOW_BRANCH_ICON` to `true`:
|
|
|
|
|
|
|
|
|
|
|
|
# Show an icon before the branch name
|
|
|
|
# Show an icon before the branch name
|
|
|
|
POWERLEVEL9K_SHOW_BRANCH_ICON=true
|
|
|
|
POWERLEVEL9K_SHOW_BRANCH_ICON=true
|
|
|
|
|
|
|
|
|
|
|
|