From 6262283b45eef59000c7da7efe95eea822776f33 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 21 Jan 2022 11:20:39 -0800 Subject: [PATCH] zsh: shorten prompt's max directory length --- .config/shell/p10k/colorful-angular.p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/p10k/colorful-angular.p10k.zsh b/.config/shell/p10k/colorful-angular.p10k.zsh index 7828909..ffbccaf 100644 --- a/.config/shell/p10k/colorful-angular.p10k.zsh +++ b/.config/shell/p10k/colorful-angular.p10k.zsh @@ -263,7 +263,7 @@ # directory will be shortened only when prompt doesn't fit or when other parameters demand it # (see POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS and POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT below). # If set to `0`, directory will always be shortened to its minimum length. - typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=80 + typeset -g POWERLEVEL9K_DIR_MAX_LENGTH=70 # When `dir` segment is on the last prompt line, try to shorten it enough to leave at least this # many columns for typing commands. typeset -g POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS=40