mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-10-01 01:04:29 +00:00
fixed documentation
This commit is contained in:
@@ -207,17 +207,16 @@ To change the way how the current working directory is truncated, just set:
|
|||||||
|
|
||||||
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.
|
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
|
# set the delimiter to an empty string to hide it
|
||||||
POWERLEVEL9K_SHORTEN_DELIMITER=""
|
POWERLEVEL9K_SHORTEN_DELIMITER=""
|
||||||
# or set it to anything else you want (e.g. 3 dots)
|
# or set it to anything else you want (e.g. 3 dots)
|
||||||
POWERLEVEL9K_SHORTEN_DELIMITER="..."
|
POWERLEVEL9K_SHORTEN_DELIMITER="..."
|
||||||
|
|
||||||
With this you could achive the truncate behaviour of the fish shell. Which turncates `/usr/share/plasma` to `/u/s/plasma`
|
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_DIR_LENGTH=1
|
||||||
POWERLEVEL9K_SHORTEN_DELIMITER=""
|
POWERLEVEL9K_SHORTEN_DELIMITER=""
|
||||||
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right"
|
POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right"
|
||||||
|
|
||||||
|
|
||||||
In each case you have to specify the length you want to shorten 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
|
to. So in some cases `POWERLEVEL9K_SHORTEN_DIR_LENGTH` means characters, in
|
||||||
|
|||||||
Reference in New Issue
Block a user