1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-19 11:31:26 +01:00
zsh/Completion
Daniel Shahaf dfae92c483 38996: _man: Support _correct_word.
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-05 12:37:30 +00:00
..
AIX
Base 38904: fix return status in _normal and functions erroneously using it for default completion 2016-07-21 17:49:13 +02:00
BSD 38989: minor completion updates for FreeBSD 2016-08-03 17:29:41 +02:00
Cygwin/Command
Darwin 33485: fixes for zstyle context handling 2014-10-21 20:53:51 +02:00
Debian 38990: _debbugs_bugnumber: Track bts's data dir migration. 2016-08-05 12:37:25 +00:00
Linux 38982: move cpupower completion to correct folder 2016-08-01 10:53:51 +01:00
Mandriva 33481: resolve completion clashes and tidy-up SUSE/Mandriva related functions 2014-10-21 16:11:09 +02:00
openSUSE/Command 33481: resolve completion clashes and tidy-up SUSE/Mandriva related functions 2014-10-21 16:11:09 +02:00
Redhat 37397: Optimised update to dnf completion 2015-12-13 18:19:18 +00:00
Solaris 35011: update completions for some common Unix commands, 2015-05-03 16:53:57 +02:00
Unix 38996: _man: Support _correct_word. 2016-08-05 12:37:30 +00:00
X 38812: a few new completions and update some command options 2016-07-08 23:10:41 +02:00
Zsh 38957: make use of updates to match-words-by-style and better support completion of word-style styles for zstyle 2016-07-28 16:16:25 +02:00
.cvsignore
.distfiles
bashcompinit
compaudit 34961: properly handle the case of finding no files when searching $fpath and $_compdir 2015-04-25 11:04:07 -07:00
compdump 38547: Completion/compdump: only autoload functions when they exist in fpath 2016-06-05 12:05:34 -04:00
compinit 38289: "builtin enable" in $_comp_setup to avoid accidentally invoking external command of the same name 2016-04-15 21:39:04 -07:00
compinstall 37898: fix typo in completer menu 2016-02-14 13:13:06 -08:00
README

The subdirectories contain code for a shell-based system of command-line
completion.  This is considerably more powerful than the old `compctl'
method.  For details, see the compsys(1) manual page (`man zshcompsys').