Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh tips plea (tip of the day)
- X-seq: zsh-users 7746
 
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
 
- To: zsh-users@xxxxxxxxxx
 
- Subject: Re: zsh tips plea (tip of the day)
 
- Date: Fri, 23 Jul 2004 22:26:19 +0200
 
- In-reply-to: <87llhatqua.fsf@xxxxxxxxxxxxxxxx>
 
- Mail-followup-to: zsh-users@xxxxxxxxxx
 
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
 
- References: <bfs1g0phq8ojapt75pdnc19scq816grdhv@xxxxxxx> <20040723125246.Y326@willy_wonka> <20040723200401.GL7828@xxxxxxxxxxxxx> <87llhatqua.fsf@xxxxxxxxxxxxxxxx>
 
- Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
 
On 2004-07-23 13:23:57 -0700, Philippe Troin wrote:
> Vincent Lefevre <vincent@xxxxxxxxxx> writes:
> 
> > On 2004-07-23 12:55:03 -0400, Atom 'Smasher' wrote:
> > > in ~/.zshrc:
> > > 
> > > precmd () {
> > >     print -n '\017'
> > > }
> > 
> > This is really nice! Why haven't I thought about that before? :)
> > I wonder if this shouldn't be done by zsh in standard.
> 
> How is that different from "setopt promptcr"?
\017 is not a CR, but a ^O (the opposite of ^N). Cat a binary file
and you would see that this is useful. :)
-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author