diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-08-05 01:06:06 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-08-05 01:06:06 +0300 |
commit | 9efe519dc59ac4efb996aac4a20d50a6f95a398f (patch) | |
tree | 7c941febe25df3061d4d75f4a75f932851d7f718 /README.md | |
parent | 6925e35cb8d6c4db40a3aa6127c284684779d42c (diff) | |
parent | 99504d4ad44ea88af8ec6f84c8c38415044e7557 (diff) |
Merge branch 'dritter/improve_shorten_dir_length' of github.com:dritter/powerlevel9k into dritter/improve_shorten_dir_length
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -277,6 +277,18 @@ to a certain length: # Limit to the last two folders POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 +To change the way how the current working directory is truncated, just set: + + # truncate whole directories + POWERLEVEL9K_SHORTEN_STRATEGY="complete_directories" + # truncate from right, leaving the first X characters untouched + POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" + # default behaviour is to truncate the middle part of the directory + +In each case you have to specify the length you want to shorten the directory +to. So in some cases `POWERLEVEL9K_SHORTEN_DIR_LENGTH` means characters, in +others whole directories. + #### The 'time' segment By default the time is show in 'H:M:S' format. If you want to change it, |