zsh-workers
 help / color / mirror / code / Atom feed
* Prompt percent completion for truncations
@ 2022-03-21 18:32 Bart Schaefer
  2022-03-21 21:15 ` Mikael Magnusson
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2022-03-21 18:32 UTC (permalink / raw)
  To: Zsh hackers list

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-21 22:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 18:32 Prompt percent completion for truncations Bart Schaefer
2022-03-21 21:15 ` Mikael Magnusson
2022-03-21 21:42   ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).