From: Frank Schwidom <schwidom@gmx.net> To: zsh-users@zsh.org Subject: Hi, can someone help me to convert my bash PS1 to zsh? Date: Mon, 21 Mar 2022 17:06:50 +0100 [thread overview] Message-ID: <20220321160650.GA1727@debian64> (raw) 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
next reply other threads:[~2022-03-21 16:09 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-21 16:06 Frank Schwidom [this message] 2022-03-21 16:57 ` Mikael Magnusson 2022-03-21 17:47 ` Frank Schwidom 2022-03-21 17:59 ` Mikael Magnusson 2022-03-21 18:51 ` Roman Perepelitsa 2022-03-21 21:43 ` Bart Schaefer 2022-03-22 0:36 ` Frank Schwidom 2022-03-21 18:11 ` Bart Schaefer 2022-03-21 18:17 ` Frank Schwidom 2022-03-21 18:56 ` Lawrence Velázquez
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220321160650.GA1727@debian64 \ --to=schwidom@gmx.net \ --cc=zsh-users@zsh.org \ --subject='Re: Hi, can someone help me to convert my bash PS1 to zsh?' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.vuxu.org/mirror/zsh/ This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).