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

Re: How to link to zsh manual section?



On Wed, 11 Feb 2015 14:26:54 +0200
İsmail Dönmez <ismail@xxxxxxxxx> wrote:
> > -> PAGER="less -g -s '+/(?i)^       "$1"'" man zshall
> 
> This gives an "Invalid pattern" error here.

The internal "" need quoting, although it's not clear that matches your
problem...

PAGER="less -g -s '+/(?i)^       \"$1\"'" man zshall

(If they're actually needed, I haven't checked the less syntax...)

pws



Messages sorted by: Reverse Date, Date, Thread, Author