Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Coolest prompt?
- X-seq: zsh-users 7665
- From: Geoff Wing <gcw@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Coolest prompt?
- Date: Thu, 8 Jul 2004 01:15:37 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultants
- References: <200406111329.45312.myrmidon@xxxxxxxxxxx>
- Reply-to: mason@xxxxxxxxxxxxxxx
Ziggy <myrmidon@xxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author