mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 00:50:08 +00:00
Make use of helper function in left_end_segment
This commit is contained in:
parent
6f5827009f
commit
27fe2c6571
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ left_prompt_segment() {
|
||||||
# End the left prompt, closes the final segment.
|
# End the left prompt, closes the final segment.
|
||||||
left_prompt_end() {
|
left_prompt_end() {
|
||||||
if [[ -n $CURRENT_BG ]]; then
|
if [[ -n $CURRENT_BG ]]; then
|
||||||
echo -n "%k%F{$CURRENT_BG}$(print_icon 'LEFT_SEGMENT_SEPARATOR')"
|
echo -n "%k$(foregroundColor ${CURRENT_BG})$(print_icon 'LEFT_SEGMENT_SEPARATOR')"
|
||||||
else
|
else
|
||||||
echo -n "%k"
|
echo -n "%k"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue