I want to alter my zsh prompt since the default one looks rubbish. It has looked rubbish for the last few releases but used to be fine. So I want ~/.zshrc to have something like this:
PROMPT='%F{green}%*%f %F{blue}%~%f %F{red}%f$ '
But when I put that into ~/.zshrc that file gets deleted as soon as the add-on restarts.
Note the “init_commands” configuration setting seems to get ignored otherwise I’d just set the prompt there. Doesn’t work.
How do I persist that file across add-on and HA restarts?
For reference this is what my prompt looks like: