diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2015-04-02 01:40:54 +0300 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2015-04-02 01:40:54 +0300 |
commit | 5b0eeadabb75c03fb4e63442294d0b8d25897db5 (patch) | |
tree | 728ba675d80b57b95123ef8883c9873c492bcbc8 /README.md | |
parent | c88cfb8b73f7884c7861d32c118cfe6294980ff0 (diff) | |
parent | e23a3c47c41557ec97ea0a819070fd2c4bdb3b68 (diff) |
Merge pull request #17 from dritter/dritter/changeset_hash_length
Make changeset hash length configurable
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |