Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd /u/N/v/ tab expansion
On Wed, Apr 6, 2022 at 5:41 AM zzapper <zsh@xxxxxxxxxxxxxx> wrote:
>
> cd /u/N/v/ # tab expands to
>
> cd /usr/NX/var/
This is what _path_files does.
> This works well if /u/N/v/ is unique and oddly or not all if not..
What's odd about it? The behavior should be that the unambiguous part
at the left is completed, and then the cursor stops at the first
ambiguous point. For example, if I do:
% ls /u/l/b<TAB>
I get, with cursor after the "l" (over the third "/"):
% ls /usr/l/b
If I hit TAB again:
% ls /usr/l/b
libexec/ local/
When does this fail for you?
> Q1) where is the doc for this?
Under the entry for _path_files.
> Has something in my setup overloaded this?
No way for us to tell. Have you tried using the ctrl+x question-mark
binding to get a completion traceback?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author