Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: simpler completion
- X-seq: zsh-users 30282
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: simpler completion
- Date: Tue, 24 Jun 2025 18:58:41 -0700
- Archived-at: <https://zsh.org/users/30282>
- In-reply-to: <CAH+w=7ZTLYjxx4seQKfMFJFEY2PMequ78J1tXgsuavN-EL38tA@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <5bb70dbc-39ee-4e0c-b9dd-e70336bc3710@eastlink.ca> <CAH+w=7YLBeVU2LnAgU8nzoN4xeKV3HzV85qdWa04xJCMP+xB6Q@mail.gmail.com> <6b6f11da-bd24-4b54-ba2c-76fd2eebb5b9@eastlink.ca> <CAH+w=7ZTLYjxx4seQKfMFJFEY2PMequ78J1tXgsuavN-EL38tA@mail.gmail.com>
On 2025-06-24 09:48, Bart Schaefer wrote:
So there's not supposed to be a space between "mnt" and "[TAB]" in
your example?
Nuts, I didn't pay any attention to that. No space, pardon.
If I remove the space and hit TAB directly after "mnt" then I see
those two offered,
How, since you don't have the files? Hard to duplicate a completion
since we'll not have identical contents in a directory.
which is exactly as I'd expect because in that case
you're completing a command word rather than a file name.
That's what I'm trying to avoid, I just want filename completion.
Here's another example:
5 /aWorking/Zsh/Source/Wk 2 % test[TAB]
Completing external command
Completing executable file
Completing builtin command
test test,2,zzz test.ggb test.ggb,1,tttesting
test,1,zzz test,3 test.ggb,0,testing
... all of those are very temporary scripts, none are external commands
or executables or builtins.
But I do get completion of commands too, and I want that to stop. If I
type 'gim' then press TAB, it completes to 'gimp' with no messages and
of course gimp is an application. Files only please. No messages.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author