From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 4620ddbe for ; Fri, 13 Dec 2019 16:24:48 +0000 (UTC) Received: (qmail 13778 invoked by alias); 13 Dec 2019 16:24:42 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24524 Received: (qmail 19224 invoked by uid 1010); 13 Dec 2019 16:24:42 -0000 X-Qmail-Scanner-Diagnostics: from mailout2.w1.samsung.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25656. spamassassin: 3.4.2. Clear:RC:0(210.118.77.12):SA:0(-7.0/5.0):. Processed in 1.855035 secs); 13 Dec 2019 16:24:42 -0000 X-Envelope-From: p.stephenson@samsung.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.samsung.com designates 210.118.77.12 as permitted sender) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20191213162404euoutp020ef86e5196e87214207cef916cee05f9~f_uJlV5w92980029800euoutp02- X-AuditID: cbfec7f5-a29ff7000001ed1a-83-5df3bb245e10 Message-ID: <1576254243.5214.21.camel@samsung.com> Subject: Re: completion of filenames From: Peter Stephenson To: Date: Fri, 13 Dec 2019 16:24:03 +0000 In-Reply-To: X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsW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sELaw xJ9rXWwQRZ1MEjt75kF1nGGUmDjzNJRzgVGia9YeRpAWXgEjid2nb7CB2MICKhJfLzaDjWIT MJSYumk2WI2IgLjEs5nfWEBsFgFViaU9O8DqOQXsJS6f+MgKMXQFk8SihqNgNzELaEq0bv8N dZOGxIabx5gglglKnJz5hAWiRl6ieets5gmMQrOQtMxCUjYLSdkCRuZVjCKppcW56bnFRnrF ibnFpXnpesn5uZsYgeG/7djPLTsYu94FH2IU4GBU4uHV2Pw5Vog1say4MvcQowQHs5IIb6o2 UIg3JbGyKrUoP76oNCe1+BCjKdBHE5mlRJPzgbGZVxJvaGpobmFpaG5sbmxmoSTO2yFwMEZI ID2xJDU7NbUgtQimj4mDU6qBUYhlxZs1apzNsxo/v4mrOHDsxNmkEJb73lX6LR+0fnPl3bzj KMt021HbIWKtzIPklx8fC0rfXsKv8Mlk/lqX4sC8l9a5m6V+8P7QmfztErPxRKu1mss7Emxc pG5/4t0+f5Kz/6s9geu+znp3Ok9sS62E8/692qnpbqvYNvXf5fDTEunR0zp/U4mlOCPRUIu5 qDgRAK3ImwOVAgAA X-CMS-MailID: 20191213162403eucas1p28a47cbc7cac66253e5afc9c7129eb9ef X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20191210161919epcas1p2c60b547299b6425434345c4f26071643 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20191210161919epcas1p2c60b547299b6425434345c4f26071643 References: <1575995450.4447.3.camel@samsung.com> On Fri, 2019-12-13 at 07:59 -0800, Ray Andrews wrote: > On 2019-12-10 8:59 a.m., Ray Andrews wrote: > >  > > On 2019-12-10 8:30 a.m., Peter Stephenson wrote: > > >  > > >  > > > Suffix aliases are already handled.  So if it's a file in the current  > > > directory, > > > you should find typing ./ completes files with a suffix alias  > > > defined. > > >  > > > pws > > >  > > Doesn't work.  This could be something I've botched up myself. Here's  > > what I think is relevant: > >  > If no one has any ideas about this, I'm tempted to try to tinker with it  > myself. [Haven't be been here before...?] Well, you're welcome to do that, of course, but I can't help thinking you're shooting yourself in the foot.  The system is designed to work out of the box; while you can make it do other things, obviously that implies you need some understanding of how it works before you can build it up yourself.  Your questions don't tend to suggest that's currently the case.  Background reading (such as Oliver's chapters in From Bash To Z Shell) and studying the documentation and the shell code itself are the first steps to getting there.  Questions here that are going to get useful answers are probably going to be along the lines of "I read about X but I don't understand Y" rather than "I don't know what to do but maybe it's got something to do with Z".  (This is supposed to be practical --- what I think people will respond to --- not normative --- I'm not telling you to shut up.) If you're trying to get completion for suffix aliases going, the normal way to do this would be to assure yourself they work with a vanilla set up, then see what configuration of yours is stopping it working.  In my experience, this is generally more effective that telling people that what you've currently got doesn't work. pws