1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 12:20:07 +00:00

Change subseparator color to match with segment

This commit is contained in:
Adrian Haasler García 2020-03-05 23:41:51 +01:00
parent dfa377b1b9
commit 366fc52200
No known key found for this signature in database
GPG key ID: A35E705E88381981

View file

@ -684,7 +684,7 @@ _p9k_left_prompt_segment() {
fi fi
_p9k_t+=%b$bg$_p9k__ret$ss$style$left_space # 3 _p9k_t+=%b$bg$_p9k__ret$ss$style$left_space # 3
else else
_p9k_t+=%b$bg$fg$ss$style$left_space # 3 _p9k_t+=%b$bg$ss$fg$style$left_space # 3
fi fi
_p9k_t+=%b$bg$s$style$left_space # 4 _p9k_t+=%b$bg$s$style$left_space # 4
@ -911,7 +911,7 @@ _p9k_right_prompt_segment() {
local t=$(($#_p9k_t - __p9k_ksh_arrays)) local t=$(($#_p9k_t - __p9k_ksh_arrays))
_p9k_t+=$start_sep$style$left_space # 1 _p9k_t+=$start_sep$style$left_space # 1
_p9k_t+=$w$style # 2 _p9k_t+=$w$style # 2
_p9k_t+=$w$subsep$style$left_space # 3 _p9k_t+=$w$style$subsep$left_space # 3
_p9k_t+=$w%F{$bg_color}$sep$style$left_space # 4 _p9k_t+=$w%F{$bg_color}$sep$style$left_space # 4
local join="_p9k__i>=$_p9k_right_join[$_p9k__segment_index]" local join="_p9k__i>=$_p9k_right_join[$_p9k__segment_index]"