Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] consider single dot as a valid (yet incomplete) parameter name



On Thu, Mar 26, 2026 at 6:08 AM Jun. T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>
> As I wrote in the previous post (54251),
>
> % echo ${.<TAB>
>
> offers nothing.

With
  zstyle '*' format %d
it says 'file', so you're on the right track.

> I came up with the following patch, but I'm not sure this is
> the correct fix. Any comments?

This appears to handle
% echo ${ .<TAB>
and
% echo ${ . <TAB>
correctly (at least in so far as they ever were), so I think this is fine.

RE "in so far as they ever were",
% echo ${<ctl-x h>
fails to report any completion context, and
% echo ${ <ctl-x h>
reports context for "echo" as if the "${" were not there.




Messages sorted by: Reverse Date, Date, Thread, Author