diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2015-08-28 17:08:13 +0300 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2015-08-28 17:08:13 +0300 |
commit | bf9ef6acf179015e422cc29a1d85799e48e1c93d (patch) | |
tree | 2b84cf9ef22111e7812dcf03ba6904b225ffe135 /README.md | |
parent | fbac091e27f3ad69e022cf24932b9219674b030f (diff) | |
parent | 7535f62746c9d172d14adfe437a8573e682a12da (diff) |
Merge 'dritter/improve_shorten_dir_length' into next
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -279,6 +279,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 the middle part + POWERLEVEL9K_SHORTEN_STRATEGY="truncate_middle" + # truncate from right, leaving the first X characters untouched + POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" + # default behaviour is to truncate whole directories + +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, |