You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function segment -a fg bg text -d "Add prompt segment"
|
|
if test -z "$segment_color"
|
|
set segment_color normal
|
|
end
|
|
|
|
set -g segment (set_color $fg -b $bg)"$text"(set_color $bg -b $segment_color)"$segment"
|
|
set -g segment_color $bg
|
|
end
|