diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-01-30 10:29:20 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-01-30 10:29:20 +0300 |
commit | 1f2251b79924dfb179b9ef842b044fd0cd1571a1 (patch) | |
tree | 0c35490231596afe75475defda08275a5fb10d2f | |
parent | 73878f398ac5ba73ff858e215b0045bf41d493c4 (diff) |
bug fix: don't cache range and nnn segments as their content is not static
-rw-r--r-- | internal/p10k.zsh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index ce85b43b..73c1f821 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -4234,9 +4234,7 @@ _p9k_prompt_nordvpn_init() { } function prompt_ranger() { - local -i len=$#_p9k__prompt _p9k_prompt_segment $0 $_p9k_color1 yellow RANGER_ICON 0 '' $RANGER_LEVEL - typeset -g "_p9k__segment_val_${_p9k_prompt_side}[_p9k_segment_index]"=$_p9k__prompt[len+1,-1] } _p9k_prompt_ranger_init() { @@ -4262,9 +4260,7 @@ function instant_prompt_midnight_commander() { } function prompt_nnn() { - local -i len=$#_p9k__prompt _p9k_prompt_segment $0 6 $_p9k_color1 NNN_ICON 0 '' $NNNLVL - typeset -g "_p9k__segment_val_${_p9k_prompt_side}[_p9k_segment_index]"=$_p9k__prompt[len+1,-1] } _p9k_prompt_nnn_init() { |