petobens / trueline

Fast and extensible bash powerline prompt with true color and fancy icon support
MIT License
385 stars 36 forks source link

Add font style as a variable. #13

Closed micalexander closed 4 years ago

micalexander commented 4 years ago

It seems that you have the segments set to normal as default. It would be nice to pass that as a variable as below:

declare -a TRUELINE_SEGMENTS=(
  'user,grey,special_grey,bold'
  'working_dir,mono,cursor_grey,bold'
  'git,grey,special_grey,bold'
)
petobens commented 4 years ago

Good idea. I'll try to write something up over the weekend (a pr is obviously welcome though).

petobens commented 4 years ago

Sorry about the delay. Could you please try #14? Thanks