Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bold prompt quirk



John Harres wrote:
>While fiddling around with color prompts, I noticed this quirk:
>
>PS1="%B${PURPLE}%m${NORMAL}%(#.#.>)%b "
>
>does not display the > (or #) in bold, while
>
>PS1="%B${PURPLE}%m${NORMAL}%b%B%(#.#.>)%b "
>
>does.

I suspect that your terminal just doesn't like overlapping colour and
attribute selection, or possibly your ${NORMAL} is cancelling more than
just colour.  In any case, there's not a lot we can do about that in
the shell.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author