From 594923dc9ba1a5ea5845704d9db8fd87a85d56b3 Mon Sep 17 00:00:00 2001 From: romkatv Date: Fri, 19 Jul 2019 10:09:47 +0200 Subject: [PATCH] tune dir shortening --- config/p10k-lean.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 9d0fcce4..9c4aa13d 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -113,7 +113,7 @@ fi # Replace removed segment suffixes with this symbol. typeset -g POWERLEVEL9K_SHORTEN_DELIMITER= # 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 # segment is always an anchor. typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=39 @@ -125,7 +125,7 @@ fi typeset -g POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 # 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. - 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 # opening a directory in the file manager simply by clicking the link.