Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh tips for "UNIX Power Tools"
- X-seq: zsh-users 2946
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: zsh tips for "UNIX Power Tools"
- Date: Sat, 4 Mar 2000 17:18:43 +0000
- Cc: Jerry Peek <jpeek@xxxxxxxxx>
- In-reply-to: <1000304163801.ZM24423@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <28174.952013581@xxxxxxxxx> <20000303123932.A11036@xxxxxxxxxxxxxxxxx> <87k8jjwt6h.fsf@xxxxxxxxxxxxxxxxxxxx> <1000304054014.ZM21187@xxxxxxxxxxxxxxxxxxxxxxx> <20000304130547.D1805@xxxxxxxxxxxxxxxxx> <1000304163801.ZM24423@xxxxxxxxxxxxxxxxxxxxxxx>
On Mar 4, 4:38pm, Bart Schaefer wrote:
} Subject: Re: zsh tips for "UNIX Power Tools"
}
} show_mode is a function; fiddle with it. E.g. pass the number of lines
} to move up as a second argument, or pass that second argument only when
} in the prompt and don't move up a line when $# > 1, or ...
I just noticed a problem with this that I should have remembered: zsh
issues a clear-to-eol at every newline in a multiline prompt, so the
prompt will erase anything that's printed before it is drawn.
Thomas's sleep run from precmd appears to be the only workaround for
this, so I apologize for second-guessing.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author