Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Prompt percent completion for truncations
- X-seq: zsh-workers 49871
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Prompt percent completion for truncations
- Date: Mon, 21 Mar 2022 11:32:25 -0700
- Archived-at: <https://zsh.org/workers/49871>
- List-id: <zsh-workers.zsh.org>
This is cute but unhelpful:
[ -- truncation from who knows where
Furthermore, completion after that doesn't work right:
% PS2=%[
parameter
(list of parameter names elided)
% PS2=%\[
(literally nothing: no suggestions, no beep)
If we're going to include %[ in the completions, it should continue
with %[< or %[> ... but my vote would be to just remove that because
it's a deprecated form of %< and %> respectively. There is also this:
% PS2=%\<
replacement string
% PS2=%\[\<
number
The latter is wrong, of course; both of these should behave the same.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author