1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
Commit Graph

163 Commits

Author SHA1 Message Date
Sven Wischnowsky
6a62ae3564 replace path' with more general urls' style (13814) 2001-03-28 11:26:05 +00:00
Sven Wischnowsky
e48f71e216 make _arguments return 300 only if given the -R option (13790) 2001-03-27 13:03:49 +00:00
Sven Wischnowsky
ea08ba3cea _pids shouldn't start menu completion if the current word starts with a hyphen; typo fix in compsys.yo (13763) 2001-03-26 08:27:03 +00:00
Sven Wischnowsky
6fda33d3ab fix 2001-03-23 12:52:39 +00:00
Sven Wischnowsky
9ef6eed52a add commands and call-command styles; mention some of the more expensive things about completion setup in the docs (13727) 2001-03-23 12:44:21 +00:00
Oliver Kiddle
f18221fbb0 spelling corrections (13610) 2001-03-12 17:39:22 +00:00
Andrey Borzenkov
eeebe3e4ec 13544, 13568 (Peter): + syntax for matchers in matcher-list to augment
previous list
2001-03-06 07:47:26 +00:00
Sven Wischnowsky
3e6563dd03 new _expand_aliases to, well, expand aliases (13566) 2001-03-05 13:18:59 +00:00
Sven Wischnowsky
ca585f812b add `services', allowing easier re-use of (parts of) completion functions (13346) 2001-01-15 09:11:31 +00:00
Sven Wischnowsky
e0dc80e0e5 aloow value `pattern' for insert-unambiguous style to preserve patterns in the original string; add list-suffixes style to make file completion list path suffixes if possible; slightly improved completion of pathnames with multiple pattern-components (13128) 2000-11-08 09:20:42 +00:00
Sven Wischnowsky
865f3961b7 change some tags used in filename completion: no tag for file-sort, fake-files and ignore-parents, paths for accept-exact (13037) 2000-10-23 08:07:32 +00:00
Sven Wischnowsky
f23b23e8a3 remove possibility for func() entries in tag-order style, can be done using zstyle -e (12974) 2000-10-12 08:28:26 +00:00
Sven Wischnowsky
17e2003c5c rename fake style to fake-files (12973) 2000-10-12 07:08:43 +00:00
Sven Wischnowsky
adf7965951 add _all_matcher completer and supporting C-code for adding a special match representing all other matches; remove completions style from _expand(|_word) (12960) 2000-10-11 12:19:23 +00:00
Sven Wischnowsky
7b35c8639c *** empty log message *** 2000-10-10 14:12:41 +00:00
Sven Wischnowsky
62df18f0d8 cleanup (12896) 2000-10-05 08:41:35 +00:00
Sven Wischnowsky
0f2250de44 complete after autoloaded directories (a rather ugly hack); remove old code in _files (comma separated patterns); improve docs for fake style and for comma separated qualifier lists (12892) 2000-10-05 07:31:00 +00:00
Bart Schaefer
430e294795 Fiddle with _expand_word and its doc. 2000-09-21 05:16:21 +00:00
Bart Schaefer
dc1f7c5a34 Create "User Contributions" doc and make some assoctiated changes. 2000-09-04 21:10:29 +00:00
Bart Schaefer
968c9f5f99 12716: Document and index REPLY/reply paramters properly. 2000-08-29 06:35:39 +00:00
Sven Wischnowsky
0352b80797 call ps only once and be more intelligent when finding the PIDs (12640) 2000-08-15 09:31:18 +00:00
Oliver Kiddle
29255612ee Minor documentation fixes (12585) 2000-08-10 23:06:42 +00:00
Oliver Kiddle
5851a32681 add -g option to _parameters to restrict type of parameters completed (12583) 2000-08-10 21:22:25 +00:00
Adam Spiers
fd15ea0fb5 12486: new completion caching layer 2000-08-02 13:45:51 +00:00
Sven Wischnowsky
b2aebcad02 if compcontext is an assoc, the keys are the completions and the values are their descriptions (12483) 2000-08-02 10:36:19 +00:00
Sven Wischnowsky
cd2984fb66 make $compcontext more powerful and easier to use for simple cases 2000-08-01 07:19:15 +00:00
Sven Wischnowsky
a2f2ae4f5a clarify manual for menu style; select= and yes= may be given both a number and one of the long* values at the same time (12438) 2000-07-31 08:06:37 +00:00
Sven Wischnowsky
3343c75efd fix a bug that started menu selection too often; fix bug for `yes=long' and document it (12405) 2000-07-27 10:59:43 +00:00
Bart Schaefer
04aaf1cd7f Move compinit security checks into compaudit. 2000-07-26 08:54:58 +00:00
Sven Wischnowsky
046f5da3aa fix for list-prompt docs (12229) 2000-07-12 10:36:22 +00:00
Oliver Kiddle
b0337944b4 mention more standard tags in documentation and fix some typos (12177) 2000-07-05 21:05:57 +00:00
Peter Stephenson
044e8e054c 12140: make key rebinding for _expand complter easier 2000-07-03 14:00:44 +00:00
Sven Wischnowsky
0ddb4fb835 change format style with warnings tag, don't add descriptions as matches; make a-a-i-n-h in menu selection work even without matches (12134) 2000-07-03 08:05:27 +00:00
Sven Wischnowsky
d01795be2a reverse meaning of yes=num again (12122) 2000-06-29 09:32:04 +00:00
Sven Wischnowsky
d15f36ab5b change suffix style to still do expansion if the suffix contains something to expand (12115) 2000-06-29 07:10:31 +00:00
Sven Wischnowsky
4e2e7f292f even more fun with the menu style (no=num, yes=long-list, reverse meaning of yes=num) (12114) 2000-06-29 07:04:17 +00:00
Sven Wischnowsky
fde669f76d misc 2000-06-28 09:08:03 +00:00
Bart Schaefer
f889ebfaa3 12086: Alphabetize. 2000-06-28 04:09:56 +00:00
Sven Wischnowsky
9eca7fc726 menu style accepts yes=x to start menu completion if there are at least x matches (3219) 2000-06-27 15:05:33 +00:00
Sven Wischnowsky
07aec026b6 document _use_lo (12082) 2000-06-27 13:22:53 +00:00
Sven Wischnowsky
b9a533f382 allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029) 2000-06-22 08:42:36 +00:00
Sven Wischnowsky
cd335e489a *** empty log message *** 2000-06-20 07:16:27 +00:00
Sven Wischnowsky
c071087d1f _arguments: small fix for -s and new `!...' for things not to complete (but to understand) (11985) 2000-06-19 13:09:06 +00:00
Sven Wischnowsky
a295e82c1e allow _expand to expand braces; better detection of braces to complete in C (11973) 2000-06-19 09:55:31 +00:00
Sven Wischnowsky
2769b19881 improve filename completion; use accept-exact for in-path completion; new fake style (11971) 2000-06-19 09:32:30 +00:00
Sven Wischnowsky
4299878002 restore ZLS_COLORS when possible; better group-name handling in ZLS_COLORS (3188) 2000-06-19 08:47:43 +00:00
Sven Wischnowsky
ae2b3953df enhance ignore-line to ignore all/current/other word(s) (11938) 2000-06-16 07:38:59 +00:00
Sven Wischnowsky
0b892d4492 zstyle -e option; change math-styles to boolean ones; change defaults for _expand styles (11937) 2000-06-16 07:31:09 +00:00
Sven Wischnowsky
818cba3dbf make _files try each pattern only once (and stop after `*') (11915) 2000-06-15 09:06:21 +00:00
Sven Wischnowsky
9310826027 make -A take a pattern as argument to match non-arguments; allow single-letter option strings to have multiple arguments; fix to allow option completion with multiple sets (?) 2000-06-13 12:14:32 +00:00
Sven Wischnowsky
bde4cfde51 new _generic widget to call completion with $WIDGET in function field of context (?) 2000-06-13 11:55:06 +00:00
Sven Wischnowsky
a707108a75 allow insert-tab to contain `pending[=num]' to handle the case when there is pending input (?) 2000-06-13 11:45:26 +00:00
Sven Wischnowsky
428abf6455 new style `suffix'; use accept-exact style in _expand (?) 2000-06-13 11:26:07 +00:00
Sven Wischnowsky
0526e9b5c7 trying to improve _expand; new keep-prefix style, add-space gives more control (11815) 2000-06-08 08:39:50 +00:00
Sven Wischnowsky
08ddb2593b doc fix, missing `)' (11638) 2000-05-29 14:48:38 +00:00
Sven Wischnowsky
fb9ec18e9a make handling of default tag clearer in the docs (3101) 2000-05-29 12:52:20 +00:00
Sven Wischnowsky
a2750a4eff fixes for _arguments with sets; make _zpty not use sets (11624) 2000-05-29 08:00:46 +00:00
Bart Schaefer
53573eaffb 11554: Rearrange _arguments doc some more. 2000-05-24 09:14:34 +00:00
Peter Stephenson
72639fca30 11542: Doc/Zsh/compsys.yo: more wording `improvements' 2000-05-23 19:25:49 +00:00
Peter Stephenson
bfe6602d9e 11537: new _complete_tag function 2000-05-23 15:27:13 +00:00
Sven Wischnowsky
ce90081ea8 pat(-) in long-option patterns to say that argument should be completed only after the `='; merge _arguments and _argument_sets; slightly better test when not to complete options (11489) 2000-05-22 09:28:34 +00:00
Bart Schaefer
d28807ea39 11477: Alphabetize itemized lists. 2000-05-20 18:18:08 +00:00
Sven Wischnowsky
ca670d4d27 allow _main_complete to call an arbitrary command given as arguments (11459) 2000-05-18 10:48:31 +00:00
Sven Wischnowsky
781a5bd4b1 small doc fix; make compcall autoload compctl module (11457) 2000-05-18 09:22:31 +00:00
Peter Stephenson
53f2284045 11448: doc changes 2000-05-17 21:28:30 +00:00
Sven Wischnowsky
d658d3e2bb fixed configuration of menu-selection with menu style; pseudo-context `-command-line-', handy for completion in vared (11408) 2000-05-16 11:44:57 +00:00
Sven Wischnowsky
1dc5677a41 add _in_vared for completion inside vared; make insert-tab default to `false' there 2000-05-15 13:19:26 +00:00
Peter Stephenson
26cc1ad1df doc changes; typo in _jobs; integer builtin understands `-i base' 2000-05-14 22:08:41 +00:00
Sven Wischnowsky
8e7e17237e allow internally-mutually exclusive sets in _argument_sets; fixes for _argument_sets and the C-code for it (11320) 2000-05-11 08:54:47 +00:00
Sven Wischnowsky
d3620a02df make ^G in menu-selection restore the old command line; add select=long* values for menu style to start menu-selection if list is too long for screen (11319) 2000-05-11 08:40:09 +00:00
Oliver Kiddle
ed8b82b9b1 Spelling corrections in the docs (11315) 2000-05-11 00:01:03 +00:00
Sven Wischnowsky
2da726eaf1 more fixes for _arguments and its docs (11298) 2000-05-10 11:53:05 +00:00
Sven Wischnowsky
0f7d06b4e5 misc. _arguments fixes 2000-05-10 09:22:49 +00:00
Sven Wischnowsky
8c6a5af791 give control over insertion of tab when no non-blank character before cursor; add insert-tab style (11274) 2000-05-09 11:04:44 +00:00
Sven Wischnowsky
125dc0d4f2 new -A and -S options to _arguments; -opt=-' specs for options whose argument has to come after the =' (11270) 2000-05-09 09:05:34 +00:00
Oliver Kiddle
e5eb094bf3 minor doc fixes (11268) 2000-05-08 18:14:46 +00:00
Sven Wischnowsky
bedd4cf2c5 make _expand call _complete when called from _expand_word; add ignore-line style to ignore words already on the line (11244) 2000-05-08 08:44:52 +00:00
Sven Wischnowsky
92637abbb8 misc. completion cleanups and changes (11242) 2000-05-08 08:16:32 +00:00
Tanaka Akira
c1dc0ffe4f 11223: Completion/Base/_regex_arguments, Completion/Debian/_apt,
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo:
_regex_arguments use _alternative.
2000-05-06 07:59:52 +00:00
Tanaka Akira
3e7a2a41bc 11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo,
Src/Modules/zutil.c: _regex_arguments support tag stuff.
2000-05-04 20:16:09 +00:00
Sven Wischnowsky
4414e16a6a don't list when all matches look the same; force-list style to give users control over this (11140) 2000-05-04 07:44:21 +00:00
Sven Wischnowsky
aa0381bd2b allow `-' in exclusion lists for _arguments, to avoid completing all options (11121) 2000-05-03 14:44:01 +00:00
Sven Wischnowsky
43e44f06b7 more doc fixes (11094) 2000-05-03 08:46:52 +00:00
Sven Wischnowsky
48cd3184fb two more doc fixes (11060) 2000-05-02 11:20:10 +00:00
Sven Wischnowsky
e102702cd5 completion doc fixes and cleanup; _sort_tags updated (11047) 2000-05-02 08:14:28 +00:00
Bart Schaefer
5c327339f5 11024: The _complete_debug widget enables and captures xtrace from completion. 2000-04-30 10:04:29 +00:00
Adam Spiers
cb9408982f 11019: fix bug in _description example 2000-04-29 22:09:04 +00:00
Sven Wischnowsky
36023fdada move compctl docs behind compsys, mention `zcompile -z' in compsys (11008) 2000-04-28 13:20:11 +00:00
Sven Wischnowsky
37d14cab88 new _history completer (10979) 2000-04-27 14:16:15 +00:00
Sven Wischnowsky
5d4139d421 document _wanted -C; fix for call to _wanted in _urls (10965) 2000-04-27 09:24:37 +00:00
Sven Wischnowsky
ad31ce0db8 renamed parameters for menu selection to MENUSELECT, MENUPROMPT and MENUSCROLL; no special value for LISTMAX to turn on list scrolling, this is done by setting LISTPROMPT now; default values for LISTPROMPT and MENUPROMPT when set but empty (10959) 2000-04-27 08:21:10 +00:00
Sven Wischnowsky
d49da60670 make _arguments use more than one action when appropriate; add _argument_sets to complete different sets of arguments and options for the same command (10908) 2000-04-25 09:48:08 +00:00
Sven Wischnowsky
c9bedcd989 default values for styles in _expand_word, listing expansions with ^Xd, _expand uses add-space style (10854) 2000-04-20 08:04:56 +00:00
Sven Wischnowsky
6a7c002a7c default for list-prompt style, %[MLP] use fixed-width strings, %[mlp] use variable-width strings (10816) 2000-04-19 06:49:36 +00:00
Sven Wischnowsky
fe65ab1dd8 completion list scrolling cleanup; *STATUS renamed to *PROMPT, styles for new used parameters, use local keymap when waiting at list-prompt (10801) 2000-04-18 07:36:55 +00:00
Sven Wischnowsky
1fb481b8c2 better completion after `=', everywhere (10780) 2000-04-17 08:22:44 +00:00
Sven Wischnowsky
b692ed1b9d remove the pids' tag, use processes' instead (10733) 2000-04-13 11:05:15 +00:00
Sven Wischnowsky
4a3b94ca40 allow brace expansion on patterns for file-patterns and tag-order (10695) 2000-04-12 12:35:38 +00:00
Sven Wischnowsky
fac3086d97 _wanted now tests both tags and labels; change places where _wanted was called without a command; allow multiple patterns per string in file-patterns; update _next_tags to work with labels (10632) 2000-04-11 07:57:56 +00:00
Bart Schaefer
37012f06a7 10628: Check for GNU make using "_call version ..." as was done for GNU diff. 2000-04-10 23:40:43 +00:00