title: escape % character in zsh
body: <p>I am trying to add a battery blugin to my prompt <a href="https://github.com/Goles/Battery" rel="nofollow noreferrer">https://github.com/Goles/Battery</a>.  </p>
  
  <pre><code>PROMPT="╭─${user_host} ${current_dir} ${git_branch} `battery`
  ╰─%B$%b "
  RPS1="${return_code}"
  </code></pre>
  
  <p>I need to escape the percent sign, which can be done by getting the string output and then replacing it with two parenthesis, but I have failed at scripting that.  My prompt looks like the top line but I want it to appear like it is in the third line.  Any easy fixes to this?</p>