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

Re: Small nitpick: _nm completion



Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:

> I never saw a response to this ...
>
> On May 23,  4:17pm, Christian Neukirchen wrote:
> } Subject: Small nitpick: _nm completion
> }
> } zsh-5.0.7-0-g208bded
> } nm /usr<TAB>      => nothing
> } nm /usr/bin<TAB>  => lots of binaries
> } 
> } I think it should complete general directories too, just like every
> } other file completion I can think of.
>
> I am not able to reproduce this from "zsh -f" + compinit:
>
> torch% nm /usr<TAB>
> torch% nm /usr/<TAB>
> torch% nm /usr/
> bin/          games/        lib64/        sbin/         X11R6/
> doc/          include/      libexec/      share/
> etc/          kerberos/     local/        src/
> evolution28/  lib/          man/          tmp@
>
>
> That is, first TAB adds a slash, second TAB lists directories.  In no
> circumstance can I complete directly from "/usr/bin" with no trailing
> slash, to a list of files, so if that's actually working for you there
> must be some additional configuration stepping in.

Has been fixed in 53e44daeba84, #33927 already.

-- 
Christian Neukirchen  <chneukirchen@xxxxxxxxx>  http://chneukirchen.org



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