From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8570 invoked by alias); 15 Apr 2014 16:57:00 -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: 32547 Received: (qmail 679 invoked from network); 15 Apr 2014 16:56:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140415095631.ZM17820@torch.brasslantern.com> Date: Tue, 15 Apr 2014 09:56:31 -0700 In-reply-to: <736C1D9E-722A-425E-9F23-C9786BCB5C72@kba.biglobe.ne.jp> Comments: In reply to "Jun T." "ignore-parents style broken for cd" (Apr 16, 1:06am) References: <736C1D9E-722A-425E-9F23-C9786BCB5C72@kba.biglobe.ne.jp> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: ignore-parents style broken for cd MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Apr 16, 1:06am, Jun T. wrote: } } The ignore-parents style doesn't work for the cd command: Yes, this was discussed in the thread ending at workers/32459 http://www.zsh.org/mla/workers/2014/msg00248.html } But the actual problem may be not in _cd but in either _path_files } or compadd (or 'compfiles -i' ?). } } The patch below is my try, but I don't (and will never) } understand any details of _path_files. } } P.S. } I also didn't understand the logic at line 569: } (( $#_comp_ignore && $mopts[(I)-F] )) || Both of your suggestion edits look reasonable to me. I'm not sure that anyone really understands _path_files in its entirety ...