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

Re: find help



% which zman
zman () {
	PAGER="less -g -s '+/(?i)^       "$1"'" LANG= man zshall
}

I, personally, don't find read-help that useful (which is suggested in the other branch of this tread). Try `run-help run-help` which says that there is nothing to be found, whereas `zman run-help` shows me what I need :)

- René

Am 04.10.22 um 20:52 schrieb Ray Andrews:
I just figured out how to do this:

$ zhelp() { man zshbuiltins | less -p "^       $1" }

$ zhelp read

      read [ -rszpqAclneE ] [ -t [ num ] ] [ -k [ num ] ] [ -d delim ]
             [ -u n ] [ name[?prompt] ] [ name ...  ]
      ....

... simple and effective, but I'll bet someone has something better.






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