My zshell command line prompt has become almost invisible, I don't know how or why, but now it's white on a very pale grey background. Can someone please give me a command, preferably a short one, that I can copy and paste on to the line so that it becomes visible? My own attempts at typing an escape sequence, to change the colour, always fail because I cannot properly see what I am typing, nor can I read the error messages that result from that.
I have tried this command:
export PS1=$'%{$fg[blue]%}${PWD/#$HOME/~}%{$reset_color%} %{$fg[red]%}→%{$reset_color%}
From this question on this site, by copy and paste, but it made no difference, as far as I can see, although what arrived on my terminal may not be exactly what is in that reference.