sindresorhus / pure

Pretty, minimal and fast ZSH prompt
MIT License
13.22k stars 978 forks source link

Is bold text supported? #601

Closed nwaywood closed 3 years ago

nwaywood commented 3 years ago

I would like to make the path text bold. Is this possible?

I tried

zstyle :prompt:pure:path color cyan:bold

as well as a few other variants but no luck

nwaywood commented 3 years ago

I got it working by changing line 138 to this:

preprompt_parts+=('%B%F{${prompt_pure_colors[path]}}%~%f%b')

going to keep this ticket open though in the hope that its possible to do through config somehow

Edit: nvm, I need to modify the script for other changes I want anyway so doing it via %B and %b is fine for me