From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24976 invoked by alias); 19 May 2016 21:21:11 -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: 38519 Received: (qmail 27777 invoked from network); 19 May 2016 21:21:08 -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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Date: Thu, 19 May 2016 21:14:26 +0000 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: Re: [patch] _man: Support directories with suffixes Message-ID: <20160519211426.GC8007@tarsus.local2> References: <20160519050725.GD94229@CptOrmolo.darkstar> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160519050725.GD94229@CptOrmolo.darkstar> User-Agent: Mutt/1.5.23 (2014-03-12) Matthew Martin wrote on Thu, May 19, 2016 at 00:07:25 -0500: > 896f43c broke completion for man 3p on OpenBSD because those man > pages are in /usr/share/man/man3p. > > I couldn't figure out what was the purpose for using $~sect, so I just > dropped the tilde. > Sorry about that. Dropping the tilde would be fine with me (I didn't add it, I'm not sure what it's for, and my use-case works without it). Tangentially related: I noticed that _man doesn't handle corrections — e.g., «man 3 getwpnam<_correct_word>» has no matches, even though «man 3 getpwna» completes «getpwnam» — but haven't investigated. Cheers, Daniel