From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7 invoked by alias); 24 May 2017 10:42:29 -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: X-Seq: 22711 Received: (qmail 6826 invoked from network); 24 May 2017 10:42:29 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f170.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.192.170):SA:0(-2.8/5.0):. Processed in 0.908132 secs); 24 May 2017 10:42:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: lilydjwg@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.192.170 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:disposition-notification-to :user-agent; bh=mcNIU6Vfo+0GYewqpT4jjFcv2lPNyqeOvn6nevEiegk=; b=jWn0PyAlseEK6zRozi2wJl2gm6VpuJY0ZeQkAlT+hhB7+B9qDz0ky4mABmkBwdY8YQ paGUOtSYDmrpaauaVO3kC4RmQl+yDDHM/yKbP9Rkl7wrSModF+QSK3xNZeX0bjYZhWgq siglZKcjK0F1Z5Y19n2uUT5d2SlJwXzPqSFVdb5M6i5L5TywhSbCLV8U4cPVluQTcUic cn4bcJutSi9MxP4RAwt/BzSDC+ovjBTGwlpboGZuUN79bV9t0CEqFqtTIA6HoRSO947s 9wtECnKhQPQjdz1eYeiVajd+/+XA1fyhVOtSg3G/tKf8aK1IEqT8lqpKhRPXOonXTFH/ FW9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to :disposition-notification-to:user-agent; bh=mcNIU6Vfo+0GYewqpT4jjFcv2lPNyqeOvn6nevEiegk=; b=I59+xP+0ykazQ77idbSRnkqYeyJFzGDDJps5BGjeObvPNhFbLMVYxrSFiV1DJieTal 4wy7qfwxm0TO1UpErePk9ZSSRxfNp+t3XlWe712Tmp2S107Ytzoy7m+HjXCcrv1Sh3L0 aoBUPkUq3lwKAGeTxLHASbolmHwi7ICx9Zmw4e3ZPDbII9lLAYWyKzzAlWJy2fAIfSJ8 29nh4o4GnNkUMB36Yn/yCkkHIzmz/i7KgEyUTHNxhd/duTjgKnaR6oTVhic1jSLYsHmj cJnatMj8Y0Dz19rpbhCCSwom1s7g6GRAOaiouK5I0MlNfadG/WFpsmmFjSasO1vjnEwT Un+A== X-Gm-Message-State: AODbwcAM7Wc9GXO1QqKWeOcqKy7jj9SADPJm+YfDggxH8jNd7Fby478s 9qtgVGae2zpoZ67L X-Received: by 10.84.147.71 with SMTP id r7mr20910516ple.58.1495622543263; Wed, 24 May 2017 03:42:23 -0700 (PDT) Date: Wed, 24 May 2017 18:41:48 +0800 From: lilydjwg To: Peter Stephenson Cc: zsh-users@zsh.org Subject: Re: Can't complete path with hidden .zfs? Message-ID: <20170524104148.GA31624@lilyforest.localdomain> References: <20170518034452.GA22579@lilyforest.localdomain> <20170518100220.14cb480e@pwslap01u.europe.root.pri> <20170519033809.GA16150@lilyforest.localdomain> <20170519093052.1832023d@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170519093052.1832023d@pwslap01u.europe.root.pri> User-Agent: Mutt/1.8.2 (2017-04-18) On Fri, May 19, 2017 at 09:30:52AM +0100, Peter Stephenson wrote: > Here's some improved documentation about the cases in question. > [...] > @@ -1428,9 +1434,10 @@ or colons in var(dir) should be quoted with a backslash to be treated > literally. > > This can be useful on systems that support special file systems whose > -top-level pathnames can not be listed or generated with glob patterns. > -It can also be used for directories for which one does not have read > -permission. > +top-level pathnames can not be listed or generated with glob patterns > +(but see tt(accept-exact-dirs) for a more general way of dealing > +with this problem). It can also be used for directories for which one > +does not have read permission. > > The pattern form can be used to add a certain `magic' entry > to all directories on a particular file system. Thanks. But with fake-files, I have to list all paths that are root of a zfs "filesystem". It isn't going to be easy to maintain, so I prefer accept-exact-dirs. It'll be great if I can use a custom function to decide what to add, so I can add .zfs only when it actually exists. -- Best regards, lilydjwg