Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to link to zsh manual section?



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