Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Arithmetic expression and TRY_BLOCK_ERROR
- X-seq: zsh-users 9451
- From: John Reese <john.reese@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: Arithmetic expression and TRY_BLOCK_ERROR
- Date: Tue, 27 Sep 2005 18:04:13 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ds7UAsuW2KD9rN1Qc1pwzqEMMOejehCKLigf1Y2EcLwO6h0aOkUADyMAP0yz2Dnb2/n3vw5XbU63wMTuusE6DLdg1tqgwEKRVVR/cyt+9msS3TyBaFxYOy+Hgjv3BrqoRrMapMXZwvlFkEXvJg7EcFFcMbfpgtfoAOFQuWL5oNM=
- In-reply-to: <20050928004821.GJ11933@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050927234153.GB988@DervishD> <4880307205092717115fbb352a@xxxxxxxxxxxxxx> <20050928004821.GJ11933@xxxxxxxxxxxxxxxxxxxxx>
- Reply-to: John Reese <john.reese@xxxxxxxxx>
2005/9/27, Will Maier <willmaier@xxxxxxx>:
> On Tue, Sep 27, 2005 at 05:11:28PM -0700, John Reese wrote:
> [snip]
> > ofb:1% thok=0 17:08 ofb:~
>
> Would you mind sharing the code in you .zshrc that generates that
> attractive, spartan prompt?
>
RPS1='%B%T %(0?,,<%?> )%m:%~%b'
PS1="%Bofb${WINDOW:+:$WINDOW}%#%b"
The right prompt displays the status code of the last command if it
was non-zero, and if I'm running inside screen the screen number goes
in the left prompt.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author