mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
tune dir shortening
This commit is contained in:
parent
233b5c7c88
commit
594923dc9b
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ fi
|
||||||
# Replace removed segment suffixes with this symbol.
|
# Replace removed segment suffixes with this symbol.
|
||||||
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER=
|
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER=
|
||||||
# Color of the shortened directory segments.
|
# Color of the shortened directory segments.
|
||||||
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=23
|
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=4
|
||||||
# Color of the anchor directory segments. Anchor segments are never shortened. The first
|
# Color of the anchor directory segments. Anchor segments are never shortened. The first
|
||||||
# segment is always an anchor.
|
# segment is always an anchor.
|
||||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39
|
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39
|
||||||
|
@ -125,7 +125,7 @@ fi
|
||||||
typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1
|
||||||
# Shorten directory if it's longer than this even if there is space for it. If set
|
# Shorten directory if it's longer than this even if there is space for it. If set
|
||||||
# to -1, directory will be shortened only when prompt doesn't fit.
|
# to -1, directory will be shortened only when prompt doesn't fit.
|
||||||
typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=100
|
typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80
|
||||||
|
|
||||||
# If set to true, embed a hyperlink into the directory. Useful for quickly
|
# If set to true, embed a hyperlink into the directory. Useful for quickly
|
||||||
# opening a directory in the file manager simply by clicking the link.
|
# opening a directory in the file manager simply by clicking the link.
|
||||||
|
|
Loading…
Reference in a new issue