summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-19 14:29:54 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-19 14:29:54 +0300
commitb7a8139e9765686406e483e009e978c069f8fc5f (patch)
treedf9d0f38e889eb5d9cddb8b0be4f10698dd4ff44 /config/p10k-lean.zsh
parent594923dc9ba1a5ea5845704d9db8fd87a85d56b3 (diff)
fix POWERLEVEL9K_DIR_MAX_LENGTH
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 9c4aa13d..37542547 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -123,8 +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.
+ # Shorten directory if it's longer than this even if there is space for it. The value can
+ # be either absolute (e.g., '80') or a percentage of terminal width (e.g, '50%'). If empty,
+ # directory will be shortened only when prompt doesn't fit.
typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80
# If set to true, embed a hyperlink into the directory. Useful for quickly