Re: simpler completion

Ray Andrews <[email protected]>
Newsgroups gmane.comp.shells.zsh.user
Message-ID <[email protected]>

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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.