mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Make branch icon configurable.
This commit is contained in:
parent
558d137bfa
commit
2538e5579b
2 changed files with 13 additions and 9 deletions
|
|
@ -278,13 +278,17 @@ By default, the `vcs` segment will provide quite a bit of information. If you
|
|||
would also like for it to display the current hash / changeset, simply define
|
||||
`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,
|
||||
set `POWERLEVEL9K_CHANGESET_HASH_LENTH` 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
|
||||
POWERLEVEL9K_SHOW_CHANGESET=true
|
||||
# just show the 6 first characters of changeset
|
||||
POWERLEVEL9K_CHANGESET_HASH_LENGTH=6
|
||||
# Show an icon before the branch name
|
||||
POWERLEVEL9K_SHOW_BRANCH_ICON=true
|
||||
|
||||
##### Symbols
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue