Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to link to zsh manual section?
- X-seq: zsh-users 19849
- From: İsmail Dönmez <ismail@xxxxxxxxx>
- To: René Neumann <lists@xxxxxxxxx>
- Subject: Re: How to link to zsh manual section?
- Date: Wed, 11 Feb 2015 14:26:54 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=donmez.ws; s=www; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=A35yMENtjlj0hCKAOcmyGxhIggk2HJtxR+cyWqDuA8I=; b=RiFPgvSlehzIual5+j+ErZufhXI8Rn02yAkTKhzZPhL9kuB8HglFRA9FmokDR3l+67 EOAUN/nrE3lgc9Dv/O8dX8Mly+NaQYm9nNHCgQ5IQhTnUplOKvpJjujVve0Eo6X/YjRd D3leFDpFgzUPm8iP57lxD23bHfOMTmuNdZ0hc=
- In-reply-to: <54D8BBAC.2000405@necoro.eu>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA439EDE5777Ddavidrayninfocouk@80.91.229.13> <87386g8cm6.fsf@gmail.com> <54D8BBAC.2000405@necoro.eu>
Hi,
On Mon, Feb 9, 2015 at 3:52 PM, René Neumann <lists@xxxxxxxxx> wrote:
> Am 08.02.2015 um 19:46 schrieb Christian Neukirchen:
>> zzapper <david@xxxxxxxxxxxxxx> writes:
>>
>>> A few tips on negotiating the zsh manuals please
>>>
>>> man zshall etc
>>
>> # zman -- easier browsing of zsh manpage
>> # 20sep2011 +chris+
>> zman() {
>> PAGER="less -g -s '+/^ "$1"'" man zshall
>> }
>>
>> In doubt, press "n" a few times for the next results.
>>
>
> Nice idea! One could enhance it a little (depending on one's preference,
> of course) by inserting (?i) into the search string, resulting in
> case-independent search.
>
> -> PAGER="less -g -s '+/(?i)^ "$1"'" man zshall
This gives an "Invalid pattern" error here.
ismail
Messages sorted by:
Reverse Date,
Date,
Thread,
Author