From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12654 invoked by alias); 29 May 2015 08:10:30 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35323 Received: (qmail 28747 invoked from network); 29 May 2015 08:10:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.0 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Christian Neukirchen Subject: Re: Small nitpick: _nm completion Date: Fri, 29 May 2015 10:11:52 +0200 Message-ID: <874mmv6bw7.fsf@gmail.com> References: <87vbfjnzsi.fsf@gmail.com> <150528153939.ZM12453@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host57-2.natpool.mwn.de In-Reply-To: <150528153939.ZM12453@torch.brasslantern.com> (Bart Schaefer's message of "Thu, 28 May 2015 15:39:39 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Bart Schaefer 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 => nothing > } nm /usr/bin => 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 > torch% nm /usr/ > 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 http://chneukirchen.org