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

Re: simpler completion





On 2025-06-24 07:58, Bart Schaefer wrote:
On Mon, Jun 23, 2025 at 8:13 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
4 /aWorking/Zsh/Source/Wk 1 % mnt [TAB]
Sorry, what's "mnt"?  Zsh doesn't have a completion function for that.
Those are just filenames, what I showed was an actual attempt at completion after pressing TAB.  Completion has no problem with my weird filenames, it's just a question of throttling it back so that it stops looking for command completions.  Basically I want it as simple as I guess it could possibly be: complete on local files and directories, case insensitive, no messages, no commands, no nuthin' but files.  I know there's huge power in the completion system and I should probably get familiar with it but for now all I want is the most basic thing.  I expect that most of those 'zstyle' lines could be killed but ...







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