Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Prompt oddity when running as "sh" (4.3.0-dev)
- X-seq: zsh-workers 21741
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Prompt oddity when running as "sh" (4.3.0-dev)
- Date: Wed, 21 Sep 2005 02:11:10 +0000
- In-reply-to: <20050920163045.GE28681@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1050920160050.ZM9532@xxxxxxxxxxxxxxxxxxxxxxx> <20050920163045.GE28681@xxxxxxxxx>
On Sep 20, 9:30am, Wayne Davison wrote:
}
} The attached patch makes sure that PROMPT_PERCENT is enabled when the
} PROMPT_SP code wants to expand its end-of-line string.
[...]
} + str = promptexpand("%B%S#%s%b", 0, NULL, NULL);
Shouldn't that be "%B%S%#%s%b" ? (That was my original suggestion, in
any event.) ^^
} I also wonder if we want PROMPT_SP (and even PROMPT_CR) set when running
} as "sh". They are both currently enabled by default in all modes.
I'd be OK with disabling them in "sh" emulation, but let's hear some more
opinions.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author