1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 07:31:11 +00:00
prezto/modules/utility/functions
Samantha McVey 808d9d3579 Add zsh-help function for easily searching the zsh documentation (#1360)
* Add zsh-help function for easily searching the zsh documentation

Looks up things in the zsh documentation.
Usage: zsh-help [--all] search term(s)

Option --all will seach for the term anywhere, not just at the start of a
line. When not using --all it will search nicely for terms at the beginning
of the line, which in the zsh man pages is where terms that are explained
are located, allowing you to search the zsh man pages easily.

* Improve zsh-help to search section headings before other text

Provides a much easier way to search and access ZSH's manual. First checks for
terms at the start of the manual, then checks if it's at start of a line allowing
whitespace.

Clean up some of the code a bit and format it to have a proper header for the
zprezto project with author/email and description of the function.
2017-09-06 11:11:19 -07:00
..
_cdls_popdls_pushdls Only one newline at end of file 2014-10-09 23:38:15 -04:00
_dut Only one newline at end of file 2014-10-09 23:38:15 -04:00
_mkdcd Only one newline at end of file 2014-10-09 23:38:15 -04:00
_noremoteglob [utility] Refactor rsync_scp wrapper function and add completion support 2017-07-22 13:13:52 -05:00
_prep Only one newline at end of file 2014-10-09 23:38:15 -04:00
_psub Only one newline at end of file 2014-10-09 23:38:15 -04:00
diff Rework diff function 2017-04-15 14:06:07 -07:00
dut Only one newline at end of file 2014-10-09 23:38:15 -04:00
make Only one newline at end of file 2014-10-09 23:38:15 -04:00
prep Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
psub Add comments into each of the function files to make them easier to find 2017-07-06 16:13:36 -07:00
wdiff Only one newline at end of file 2014-10-09 23:38:15 -04:00
zsh-help Add zsh-help function for easily searching the zsh documentation (#1360) 2017-09-06 11:11:19 -07:00