I have configured PS1 and made the entire prompt bold
.zshrc contains as follows
PS1="%{$fg_bold[yellow]%}%n@%m %{$fg[blue]%}%~ \$ %{$reset_color%}%{$fg_bold[white]%}"
preexec() { printf "\e[1m"; }
Whatever I type in after the prompt is appearing bold only when I load from the buffer.
For example, as shown here me typing echo "this is text"
does not appear in bold.
I am on Ubuntu 18.04 and am trying to move to zsh.