diff options
author | Niklas Heer <niklas.heer@gmail.com> | 2016-01-04 21:00:02 +0300 |
---|---|---|
committer | Niklas Heer <niklas.heer@gmail.com> | 2016-01-04 21:00:02 +0300 |
commit | a7bedd5320f0d6fba5d4179aace5ead1f42c459d (patch) | |
tree | 288d10ecf2be52f3ac63dbd775c7b97e3b8f470b | |
parent | 3441f750bf114bc68e519d9ab351373b54e83d7c (diff) |
added documentation
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -205,6 +205,20 @@ To change the way how the current working directory is truncated, just set: POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" # default behaviour is to truncate whole directories +You can also change the delimiter (the dots in between) which is used to truncate the working directory. This setting is optional. The default are 2 dots. + + # set the delimiter to an empty string to hide it + POWERLEVEL9K_SHORTEN_DELIMITER="" + # or set it to anything else you want (e.g. 3 dots) + POWERLEVEL9K_SHORTEN_DELIMITER="..." + +With this you could achive the truncate behaviour of the fish shell. Which turncates `/usr/share/plasma` to `/u/s/plasma` + + POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 + POWERLEVEL9K_SHORTEN_DELIMITER="" + POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" + + 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. |