aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-18 18:50:37 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-18 18:50:37 +0300
commit233b5c7c8821bb8b3e3a56725158364e1fcf05d4 (patch)
tree3f1c73e50d2c516f5aa59acb4c87b84e89232e79 /config
parentcdddc0a240b5147b904fda7014a7e1f995d14dbc (diff)
add POWERLEVEL9K_DIR_MAX_LENGTH
Diffstat (limited to 'config')
-rw-r--r--config/p10k-lean.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 895cdc01..9d0fcce4 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -123,6 +123,9 @@ fi
typeset -g POWERLEVEL9K_SHORTEN_FOLDER_MARKER='(.shorten_folder_marker|.bzr|CVS|.git|.hg|.svn|.terraform|.citc)'
# Don't shorten this many last directory segments. They are anchors.
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
# 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.