From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13198 invoked by alias); 26 Oct 2013 21:37:58 -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: 31904 Received: (qmail 10506 invoked from network); 26 Oct 2013 21:37:42 -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: <131026143721.ZM9022@torch.brasslantern.com> Date: Sat, 26 Oct 2013 14:37:21 -0700 In-reply-to: <71A3F03E-CFD1-48A1-8AE1-E62FDEC37806@kba.biglobe.ne.jp> Comments: In reply to "Jun T." "_file in _zmodload: why option -/ ?" (Oct 26, 6:25pm) References: <71A3F03E-CFD1-48A1-8AE1-E62FDEC37806@kba.biglobe.ne.jp> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: _file in _zmodload: why option -/ ? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Oct 26, 6:25pm, Jun T. wrote: } } In Completion/Zsh/Command/_zmodload, line 65, } } _files -W module_path -/g '*.(dll|s[ol]|bundle)(:r)' && ret=0 } } Why the option -/ is necessary here? I'm not entirely sure, but its effect on _files is to cause symlinks that point to directories to be followed, so I presume it's to force symlinks in directories that contain modules to be offered alongside the modules that happen to be in the same directory.