mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
bug fix: don't cache range and nnn segments as their content is not static
This commit is contained in:
parent
73878f398a
commit
1f2251b799
1 changed files with 0 additions and 4 deletions
|
@ -4234,9 +4234,7 @@ _p9k_prompt_nordvpn_init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function prompt_ranger() {
|
function prompt_ranger() {
|
||||||
local -i len=$#_p9k__prompt
|
|
||||||
_p9k_prompt_segment $0 $_p9k_color1 yellow RANGER_ICON 0 '' $RANGER_LEVEL
|
_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() {
|
_p9k_prompt_ranger_init() {
|
||||||
|
@ -4262,9 +4260,7 @@ function instant_prompt_midnight_commander() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function prompt_nnn() {
|
function prompt_nnn() {
|
||||||
local -i len=$#_p9k__prompt
|
|
||||||
_p9k_prompt_segment $0 6 $_p9k_color1 NNN_ICON 0 '' $NNNLVL
|
_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() {
|
_p9k_prompt_nnn_init() {
|
||||||
|
|
Loading…
Reference in a new issue