summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_man
AgeCommit message (Collapse)AuthorFilesLines
2024-12-1653251: _man: fix page completion on macOS, update fall-back paths, etc.dana1-52/+79
- fix broken page completion on macOS and FreeBSD (regression caused by workers/50278) - update fall-back paths to include /usr/local/share/man (fixes issues like workers/53249 for systems without `manpath` or equivalent) - fold macOS completion into FreeBSD's, as macOS 13+ uses it now with little modification - add -K option for FreeBSD and -h option for mandoc/NetBSD, complete pre-processor sequences, complete section lists with commas for man-db - exclude HTML pages for FreeBSD-likes
2022-05-2250278: use `man -w` in preference to `manpath`; fix caching and precedence of -MBart Schaefer1-17/+28
2021-02-13github #68: support section suffix completion for man pagestaiyu1-8/+14
Support prepend and suffix values for insert-sections Add values for insert-sections for zstyle completion
2020-01-0545226: _man: Improve completion of file pathsdana1-1/+8
2018-08-23unposted: Fix --ascii typo in _mandana1-1/+1
2018-06-1543024: Improve _man section-name matchingdana1-6/+37
2018-06-1142983: Address misc. feedback re: _mandana1-8/+14
2018-06-1042977: Complete options to major man variants, otherwise improve especially ↵dana1-45/+306
section matching
2017-01-0540264: _man: Complete all sections after '-a'.Daniel Shahaf1-1/+5
Followup to 37634.
2016-09-0739194: _man (Solaris): Ignore man-index. Support multiple sections in the -s ↵Danek Duvall1-0/+3
flag's argument.
2016-08-0538996: _man: Support _correct_word.Daniel Shahaf1-11/+2
Since compfiles is undocumented, avoid its use altogether, replacing it by a construct that blackbox analysis suggests to be equivalent. The compfiles call being removed effected the following change (when completing «man -S 8:1 getc<TAB>»): BEFORE THE CALL: typeset -a pages=( /home/daniel/prefix/zsh/share/man/man1/ /usr/share/man/man8/ /usr/share/man/man1/ ) AFTER THE CALL: typeset -a pages=( '/home/daniel/prefix/zsh/share/man/man1/getc*(8|1)*' '/usr/share/man/man8/getc*(8|1)*' '/usr/share/man/man1/getc*(8|1)*' ) This patch effects the same transformation (modulo doubling the final slash). Any -M parameter will be passed to compadd.
2016-08-0538994: _man: Fix two bugs when completing manpage filenames in ↵Daniel Shahaf1-3/+14
separate-sections mode. - No longer glob all files (the (-g)-less _path_files was virtually always called, by at least one of the multiple calls to _man_pages). - Actually separate sections (by propagating $expl).
2016-08-0538993: _man: Drop (b): it's incorrect when $sect contains '|'.Daniel Shahaf1-2/+5
2016-08-0138981: _man: Followup to 37634: unbreak OpenBSD 'man 3p' and Linux $MANSECT.Daniel Shahaf1-5/+11
The breakage was reported in 38516.
2016-01-1837634: _man: Support subsection names such as '3p'.Daniel Shahaf1-2/+2
2016-01-1837634: _man: Disentangle a local variable that had two distinct semantics. ↵Daniel Shahaf1-8/+11
No functional change
2014-05-29users/18860: man -M overrides manpathPeter Stephenson1-1/+1
2010-12-0328468: allow man page completion for files when / is presentPeter Stephenson1-2/+14
2010-10-21not quite posted, exactly: improvement to previous _man changePeter Stephenson1-2/+3
2010-10-21Silas Silva: completion support for man -MPeter Stephenson1-0/+10
2009-06-28unposted: support lzma compression of man pages used in MandrivaAndrey Borzenkov1-2/+2
2009-04-16Alexey I. Froloff: 26830: stripping of manual page suffixes in completionPeter Stephenson1-2/+2
2006-06-09users/10282: complete associated sections with man page names.Clint Adams1-4/+15
2006-02-1222237: location of man pages on NetBSDPeter Stephenson1-1/+1
2005-08-1521565: better handle uncompresed manpages with .[0-9] in their names.Clint Adams1-2/+2
2002-05-3117266: check `manpath` even when $MANPATH is set.Clint Adams1-8/+12
2002-01-10allow manual pages to be shown separated by section with new ↵Sven Wischnowsky1-2/+22
separate-sections style (16426)
2001-08-21Better handling of manual section numbers.Bart Schaefer1-3/+14
2001-07-10remove not only numeric suffixes, but also `.n' and the like (15352)Sven Wischnowsky1-3/+2
2001-06-21improve pattern matching to make match specs work for manual page completion ↵Sven Wischnowsky1-45/+60
(15029)
2001-04-02moved from Completion/User/_manSven Wischnowsky1-0/+47