mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 09:50:06 +00:00
better quoting
This commit is contained in:
parent
146d6cd232
commit
3153b33ade
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ left_prompt_segment() {
|
||||||
_p9k_cache_set "$output" "$background_color"
|
_p9k_cache_set "$output" "$background_color"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_P9K_PROMPT+="${_P9K_CACHE_VAL[1]}${5//\$/\\$}${POWERLEVEL9K_WHITESPACE_BETWEEN_LEFT_SEGMENTS}"
|
_P9K_PROMPT+="${_P9K_CACHE_VAL[1]}\${(Q)\${:-${(q)5}}}${POWERLEVEL9K_WHITESPACE_BETWEEN_LEFT_SEGMENTS}"
|
||||||
_P9K_LAST_SEGMENT_INDEX=$2
|
_P9K_LAST_SEGMENT_INDEX=$2
|
||||||
_P9K_CURRENT_BG=$_P9K_CACHE_VAL[2]
|
_P9K_CURRENT_BG=$_P9K_CACHE_VAL[2]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue