aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-03-31 01:57:15 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-04-01 01:35:08 +0300
commitc57e46f63deddd251761dfbc43ea98655f86417a (patch)
treeae09a820780a5f2d3b94b8b179890627b8886eaf /README.md
parent3de82cfa67e782337d05aab774ea75106d67f992 (diff)
Added documentation
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index 286a0591..74644d70 100644
--- a/README.md
+++ b/README.md
@@ -109,9 +109,15 @@ elements (it is by default), and define a `DEFAULT_USER` in your `~/.zshrc`:
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`:
+`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.
+Example:
+ # enable the vcs segment in general
POWERLEVEL9K_SHOW_CHANGESET=true
+ # just show the 6 first characters of changeset
+ POWERLEVEL9K_CHANGESET_HASH_LENGTH=6
### Styling