From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22764 invoked by alias); 19 May 2017 03:38:50 -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: 22706 Received: (qmail 28595 invoked from network); 19 May 2017 03:38:49 -0000 X-Qmail-Scanner-Diagnostics: from mail-pg0-f47.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(74.125.83.47):SA:0(-2.8/5.0):. Processed in 1.219226 secs); 19 May 2017 03:38:49 -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 74.125.83.47 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:disposition-notification-to :user-agent; bh=wb6z/mIcHqK/NudlkJP2upAbI/sqFYz3M0dY1ciiTBA=; b=WDjF+fgKkgMypRUnOFm5rGGCtpck2zTxr+/eB2P5uAZ6MnBOZmHm9nK085h2WpiPST /P9MsPK5IifMif04JdAHYuNfMb7i3msmSMKUPTq2Xrn7kQvZJVNQjVV6oH13qczJjFLx 8WymWVxZepEQi5Une3Ku1tXLZiFx9VKOoYwrrMek8LDqhSUSAQjCeyQpP3zHQHlWFXHK dJea2c3RQ4meDJEeULZUe6Ad96GBCrqtg3jwMB1LadszkCHuTNUOYUzI7tnvePdNKSIe pExg8UD16LYppDja7bkQNUBmc1CjCRgWh+k9aHfm6bE4IgbQgARb6bT6xSv4ZB+MR+MR 8qIw== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to :disposition-notification-to:user-agent; bh=wb6z/mIcHqK/NudlkJP2upAbI/sqFYz3M0dY1ciiTBA=; b=HfS1wBt+wTTKHmV9tMPKPJcM/G8E0B3q/lM2WFhtAJOH0lRLlMnBfTpG6xlxFjWx2D b1rCfTGJTxSHKqTG+LuwJLSJSvEf2VaZpG/TWyQ1NI4Ys6FdBjG41Qo+4gR547JlR6mQ /Nfupeu2cMDu/mSrvv8lPqaVGrLCdWImBFF3xQ4HgUzyCTA4U+UXqcWwsRj8dXMuqGMg t/YGX31ml76ma7yxsvDCXOjKt/KKzxbRijRSpaqinXpRTXsJRvesdH6MvECa1E38zxrv ItQTghXEfcTyElWrJ87H7wTlMKfuWsb4EqRyEyulTjeLnB/aEfgpe2ZmK7FgJfm4oL+3 XMOQ== X-Gm-Message-State: AODbwcCNfBAJXepjehdUekxv6tCmWoasD0+UqVPMyNdMDq5+Rpjuqege zLY6yn64T6l4EAdj X-Received: by 10.99.143.74 with SMTP id r10mr7795599pgn.77.1495165123578; Thu, 18 May 2017 20:38:43 -0700 (PDT) Date: Fri, 19 May 2017 11:38:09 +0800 From: lilydjwg To: zsh-users@zsh.org Subject: Re: Can't complete path with hidden .zfs? Message-ID: <20170519033809.GA16150@lilyforest.localdomain> References: <20170518034452.GA22579@lilyforest.localdomain> <20170518100220.14cb480e@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170518100220.14cb480e@pwslap01u.europe.root.pri> User-Agent: Mutt/1.8.2 (2017-04-18) On Thu, May 18, 2017 at 10:02:20AM +0100, Peter Stephenson wrote: > On Thu, 18 May 2017 11:44:52 +0800 > lilydjwg wrote: > > When I try to complete path like /zpool/.zfs/snap or further, zsh > > shows there are "No Matches Found" even there actually are. > > > > The .zfs directory is special in zfs: it doesn't appear in "ls" but if you > > access it, it is there. But zsh doesn't complete any path beneath it. > > Try: > > zstyle ':completion:*' accept-exact-dirs true > > The trade off is in path completion: > > ls /usr/l/bin/ > > will usually allow "l" to complete to "local". With the setting above, > it won't do that if the directory "l" already exists, it'll just blindly > accept it. I happen to prefer it that way anyway. It works, thanks! -- Best regards, lilydjwg