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

Re: simpler completion





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