mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Changed the default behaviour to truncate whole directories.
This commit is contained in:
parent
9efe519dc5
commit
754b648f37
2 changed files with 6 additions and 6 deletions
|
|
@ -279,11 +279,11 @@ to a certain length:
|
|||
|
||||
To change the way how the current working directory is truncated, just set:
|
||||
|
||||
# truncate whole directories
|
||||
POWERLEVEL9K_SHORTEN_STRATEGY="complete_directories"
|
||||
# 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 the middle part of the directory
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue