From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22531 invoked by alias); 9 Feb 2015 14:00:09 -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: 19839 Received: (qmail 24184 invoked from network); 9 Feb 2015 14:00:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Message-ID: <54D8BBAC.2000405@necoro.eu> Date: Mon, 09 Feb 2015 14:52:44 +0100 From: =?ISO-8859-15?Q?Ren=E9_Neumann?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: How to link to zsh manual section? References: <87386g8cm6.fsf@gmail.com> In-Reply-To: <87386g8cm6.fsf@gmail.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Am 08.02.2015 um 19:46 schrieb Christian Neukirchen: > zzapper 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 - René