zsh-users
 help / color / mirror / code / Atom feed
From: Geoff Wing <gcw@zsh.org>
To: zsh-users@sunsite.dk
Subject: Re: Coolest prompt?
Date: Thu, 8 Jul 2004 01:15:37 +0000 (UTC)	[thread overview]
Message-ID: <slrncep81p.80f.mason@g.primenet.com.au> (raw)
In-Reply-To: <200406111329.45312.myrmidon@vfemail.net>

Ziggy <myrmidon@vfemail.net> typed:
: ZSH allows the user to create interesting prompts. Time displaying, menu bars 
: and colors.
: Post your prompt (and .zshrc) here.

No-one seems to use POSTEDIT for their setup so I thought I'd post mine to
give people some more ideas.  Here's what I've been using for some years
which only uses normal and bold text.  (Also note, generally the %s%u%m at
the start of the PROMPT is redundant so it could be ripped it out if you use
it).

PROMPT='%b%s%u%m:%B%3c%b%# %B'
RPROMPT="%b%?:${SHLVL}:%h:%l %B%D{%F %R}%b"
POSTEDIT=`print -P -n %b`

Regards,
Geoff


      parent reply	other threads:[~2004-07-08  1:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 10:29 Ziggy
2004-06-11 12:07 ` Thomas Köhler
2004-06-11 21:20 ` Aaron Davies
2004-06-11 22:34 ` William Scott
2004-06-15 15:18   ` Julius Plenz
2004-06-17 12:25     ` Vincent Lefevre
2004-06-17 17:50 ` Sami Samhuri
2004-06-18 16:08 ` Sartoo
2004-07-08  1:15 ` Geoff Wing [this message]

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=slrncep81p.80f.mason@g.primenet.com.au \
    --to=gcw@zsh.org \
    --cc=mason@primenet.com.au \
    --cc=zsh-users@sunsite.dk \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).