Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
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 <d.s@daniel.shahaf.name>
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)
X-Seq: zsh-workers 38519

Matthew Martin wrote on Thu, May 19, 2016 at 00:07:25 -0500:
> 896f43c broke completion for man 3p <tab> 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<TAB>» completes «getpwnam» — but haven't investigated.

Cheers,

Daniel

