mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 21:41:57 +00:00
Merge pull request #150 from Tritlo/prompt_end
Add icon for end of left prompt.
This commit is contained in:
commit
951a4956fc
2 changed files with 4 additions and 1 deletions
|
@ -22,6 +22,7 @@ case $POWERLEVEL9K_MODE in
|
||||||
icons=(
|
icons=(
|
||||||
LEFT_SEGMENT_SEPARATOR $'\UE0B0' #
|
LEFT_SEGMENT_SEPARATOR $'\UE0B0' #
|
||||||
RIGHT_SEGMENT_SEPARATOR $'\UE0B2' #
|
RIGHT_SEGMENT_SEPARATOR $'\UE0B2' #
|
||||||
|
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace
|
||||||
LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' #
|
LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' #
|
||||||
RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' #
|
RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' #
|
||||||
CARRIAGE_RETURN_ICON $'\U21B5' # ↵
|
CARRIAGE_RETURN_ICON $'\U21B5' # ↵
|
||||||
|
@ -72,6 +73,7 @@ case $POWERLEVEL9K_MODE in
|
||||||
icons=(
|
icons=(
|
||||||
LEFT_SEGMENT_SEPARATOR $'\UE0B0' #
|
LEFT_SEGMENT_SEPARATOR $'\UE0B0' #
|
||||||
RIGHT_SEGMENT_SEPARATOR $'\UE0B2' #
|
RIGHT_SEGMENT_SEPARATOR $'\UE0B2' #
|
||||||
|
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace
|
||||||
LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' #
|
LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' #
|
||||||
RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' #
|
RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' #
|
||||||
CARRIAGE_RETURN_ICON $'\U21B5' # ↵
|
CARRIAGE_RETURN_ICON $'\U21B5' # ↵
|
||||||
|
@ -117,6 +119,7 @@ case $POWERLEVEL9K_MODE in
|
||||||
icons=(
|
icons=(
|
||||||
LEFT_SEGMENT_SEPARATOR $'\uE0B0' #
|
LEFT_SEGMENT_SEPARATOR $'\uE0B0' #
|
||||||
RIGHT_SEGMENT_SEPARATOR $'\uE0B2' #
|
RIGHT_SEGMENT_SEPARATOR $'\uE0B2' #
|
||||||
|
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace
|
||||||
LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' #
|
LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' #
|
||||||
RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' #
|
RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' #
|
||||||
CARRIAGE_RETURN_ICON $'\U21B5' # ↵
|
CARRIAGE_RETURN_ICON $'\U21B5' # ↵
|
||||||
|
|
|
@ -144,7 +144,7 @@ left_prompt_end() {
|
||||||
else
|
else
|
||||||
echo -n "%k"
|
echo -n "%k"
|
||||||
fi
|
fi
|
||||||
echo -n "%f "
|
echo -n "%{%f%}$(print_icon 'LEFT_SEGMENT_END_SEPARATOR')"
|
||||||
CURRENT_BG=''
|
CURRENT_BG=''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue