From e4e165f6d739bce23d64b8439530035c6eba29de Mon Sep 17 00:00:00 2001 From: romkatv Date: Fri, 13 Mar 2020 10:34:50 +0100 Subject: simplify configs - use POWERLEVEL9K_ICON_PADDING instead of POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION to customize padding after icons - remove reliance on UTF-8 locale when the config is being sourced --- config/p10k-robbyrussell.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config/p10k-robbyrussell.zsh') diff --git a/config/p10k-robbyrussell.zsh b/config/p10k-robbyrussell.zsh index 160efb90..5e0f8958 100644 --- a/config/p10k-robbyrussell.zsh +++ b/config/p10k-robbyrussell.zsh @@ -20,11 +20,12 @@ () { emulate -L zsh - autoload -Uz is-at-least && is-at-least 5.1 || return - # Unset all configuration options. unset -m 'POWERLEVEL9K_*' + # Zsh >= 5.1 is required. + autoload -Uz is-at-least && is-at-least 5.1 || return + # Left prompt segments. typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(prompt_char dir vcs) # Right prompt segments. -- cgit v1.2.3