Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PS1 covers output of previous program
- X-seq: zsh-workers 9520
- From: Dan Nelson <dnelson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PS1 covers output of previous program
- Date: Tue, 1 Feb 2000 21:38:37 -0600
- In-reply-to: <20000202005616.A1416@xxxxxxxxxx>; from "Michal Kuratczyk" on Wed Feb 2 00:56:16 GMT 2000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000202005616.A1416@xxxxxxxxxx>
In the last episode (Feb 02), Michal Kuratczyk said:
> Is this bug or feature that PS1 covers the text before?
>
> ~ % echo -n "foo"
> ~ %
>
> In bash, tcsh and pdksh the second line would look like this:
> foo~ %
Feature. It's required so that zsh's enhanced commandline editor works
right. Without it, zsh doesn't know what column the cursor is on, and
can't set RPROMPT right. To disable, "setopt nopromptcr".
--
Dan Nelson
dnelson@xxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author