summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-07-09 04:50:07 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-07-09 04:50:07 +0300
commitb455526ecceda50341f85328d332cf4906ebde50 (patch)
tree828eba59a20732bc0a5c9a79dbe134eb85ef7141 /README.md
parent4bbbefd5000707a4f9d91644042eae33fcfedd6f (diff)
parent2538e5579b2b69cf77342957b5fd436ccc4b20a2 (diff)
Merge pull request #46 from dritter/dritter/branch_icon
Add flag to enable / disable branch icon in VCS prompt. Defaults to `off`.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index b56c6cd2..c065d382 100644
--- a/README.md
+++ b/README.md
@@ -279,13 +279,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