diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-08-26 14:33:15 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-08-26 14:33:15 +0300 |
commit | 0d62451f57c5e33657098ffe53d618839d068a83 (patch) | |
tree | fcde860a6763872bbab0cffe271d38e4eb5a3809 /README.md | |
parent | 823c52b3eca833b99f45c5a9c815aee160c29691 (diff) | |
parent | 44db352e3512ff73f071e592868044d8ca8c5447 (diff) |
Merge branch 'dritter/improve_shorten_dir_length' into dritter/system_stats
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, |