Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Hi, can someone help me to convert my bash PS1 to zsh?



And here it is:

(ins)$ echo "$PS1"
\[\]\u@\h \D{%Y-%m-%d %H:%M:%S}:\n\[\]\w\n\[\]\$\[\]

(ins)$ set | grep '^PS1='
PS1=$'\\[\E[32m\\]\\u@\\h \\D{%Y-%m-%d %H:%M:%S}:\\n\\[\E[33m\\]\\w\\n\\[\E[35m\\]\\$\\[\E[0m\\] '

Thanks in advance




Messages sorted by: Reverse Date, Date, Thread, Author