I have the following configuration for Bash:
# Change Prompt
# ------------------------------------------------------------
export PS1="________________________________________________________________________________\n| \e[0;34m\u\e[m@\e[0;32m\h\e[m {\e[0;33m\w\e[m} --- \e[0;35m\D{%F %T}\e[m \n| $: "
export PS2="| $: "
I tried replacing the \
with %
, but it didn't work. What can I do to make this work in zsh?
Essentially this ends up looking like the following (minus colors):
________________________________________________________________________________
| user1@MacBook-Pro {~} --- 2020-09-14 13:17:39
| $: