1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-13 11:21:13 +02:00
Commit graph

224 commits

Author SHA1 Message Date
Doug Kearns
dc3fa4b407 unposted: fix typo in compsys.yo 2004-02-29 12:09:09 +00:00
Oliver Kiddle
5de7581394 19106: document use for _menu 2003-09-21 16:13:53 +00:00
Peter Stephenson
48205cc72f 18859: Allow the sort style to override sorting by setting explicitly to false. 2003-07-21 17:01:34 +00:00
Oliver Kiddle
3ac50886a0 18822: fix accept-exact style not not bail out when it shouldn't and add a
setting to continue on and do normal completion
2003-07-07 09:48:45 +00:00
Peter Stephenson
ecdfa912ae 18526: -O option to _describe for prefix-needed in _arguments 2003-06-05 09:51:25 +00:00
Oliver Kiddle
a5f7097d9a 18472: spelling corrections 2003-04-25 11:18:50 +00:00
Peter Stephenson
83932ba23f unposted: misspelling in compsys.yo rewrite 2003-04-24 17:45:18 +00:00
Peter Stephenson
d251482aac unposted: complete compsys.yo rewrite 2003-04-24 17:37:05 +00:00
Oliver Kiddle
6afa53768c 18450: corrections and a couple of rewordings 2003-04-18 13:23:43 +00:00
Peter Stephenson
61be35604c unposted: rewritten compsys.yo down to end of _describe function 2003-04-14 18:10:00 +00:00
Oliver Kiddle
0911160d07 fix out-of-date documentation for -value- completion and move description of
special contexts from _complete's to #compdef's description
2003-02-25 14:55:50 +00:00
Oliver Kiddle
4db0b10fc2 18156: use reply array instead of ali for plugins and document new styles 2003-01-29 14:20:55 +00:00
Bart Schaefer
eb3b206c20 18143: fix doc typo in compsys example. 2003-01-27 16:42:27 +00:00
Peter Stephenson
513088857a 17535: use-perl style for _make 2002-08-14 15:18:19 +00:00
Oliver Kiddle
ed89700265 17503: fix various typos, spelling mistakes and poor wordings in the docs 2002-08-05 12:33:27 +00:00
Sven Wischnowsky
053629183d add new sepcial context -assign-parameter- for completing the parameter in an assignment (17387) 2002-07-01 08:25:15 +00:00
Sven Wischnowsky
d28f67623f two new modes for menu selection: incremental search and interactive (17366) 2002-06-26 11:07:42 +00:00
Sven Wischnowsky
70120f22ee rename max-match-length style to max-matches-width (17213) 2002-05-23 12:16:42 +00:00
Sven Wischnowsky
b0e4b61a82 allow users to give the maximum number of display-columns the matches should take up via the style currently named max-match-length (17147) 2002-05-14 08:01:12 +00:00
Sven Wischnowsky
1acda13c70 fix doc for _describe, mention -t option (17146) 2002-05-14 07:54:23 +00:00
Andrey Borzenkov
42080a7fb9 17080: tag-order style usage 2002-05-08 09:11:28 +00:00
Oliver Kiddle
41eb475f9b 16923: add insert style for inserting matches instead of adding them as a match 2002-04-04 10:45:59 +00:00
Oliver Kiddle
ac88d2bbef 16913: fix completion after compdef -a and correct typos 2002-03-27 16:10:07 +00:00
Oliver Kiddle
6f1bb6147a alter _generic example to be more robust 2002-03-27 14:36:12 +00:00
Bart Schaefer
35352d833b Add missing close-paren 2002-03-17 17:14:09 +00:00
Oliver Kiddle
79323d6d41 16842: resolve name clash for nc between netcat and the nedit client for
completion and add _pick_variant to resolve program variants in general
2002-03-15 16:26:08 +00:00
Sven Wischnowsky
45f9a36216 remove that -T option to compdef again and instead use comma-separated sub-contexts both for function and style lookup (16819) 2002-03-13 09:28:04 +00:00
Sven Wischnowsky
f56ba813bb allow different sets of completion definitions selected with option -T to compdef; use this for parameter values and redirections (16755) 2002-03-04 08:53:41 +00:00
Sven Wischnowsky
8dcd8e54c5 make _guard use _mesage -e'; make _message -e' use $curtag as a default; change uses of _guard (16708) 2002-02-25 09:09:31 +00:00
Sven Wischnowsky
becf65dd7f allow an argument containing only a single colon as a separator between options to _arguments and specs (16669) 2002-02-18 14:36:01 +00:00
Bart Schaefer
d4a5b9916f Add a special-dirs example. 2002-02-12 17:25:18 +00:00
Sven Wischnowsky
77339cc21d add -x option (to be passed on to compadd) to _description and friends; make _message respect any -[12VJ] options it gets, adding the message to that group (16609) 2002-02-12 13:37:00 +00:00
Bart Schaefer
a11b60569b 16419: Improve _arguments syntax summary. 2002-01-26 21:08:26 +00:00
Sven Wischnowsky
3807c902a2 add new generic fake style and changes to the C-code for that (different implementation of compadd -x) (16483) 2002-01-22 10:22:47 +00:00
Sven Wischnowsky
f463b09b13 allow arguments to be given to functions used by compdef (actually, the strings are eval'uated, so this should be powerful enough) (16472) 2002-01-21 16:13:15 +00:00
Sven Wischnowsky
5659f442c0 allow manual pages to be shown separated by section with new separate-sections style (16426) 2002-01-10 11:00:05 +00:00
Oliver Kiddle
95abfc0e2a 16398: updated zstyle completion and related cleanup 2002-01-04 12:09:29 +00:00
Clint Adams
175ae571f3 16006: use styles for mail directory, pine directory, and muttrc. 2001-10-10 20:10:44 +00:00
Sven Wischnowsky
933813e971 change file completion default to offer globbed files and directories on first try (15995) 2001-10-09 12:56:02 +00:00
Sven Wischnowsky
22d506ed6b make expand style (file completion) work again; no more special behaviour with menu completion; try to make docs clearer (15944) 2001-10-05 11:18:36 +00:00
Adam Spiers
a4ba95139d unposted: Add missing docs for cache-policy style. 2001-08-15 13:50:02 +00:00
Sven Wischnowsky
7e23143359 follow-up to 15588; add -w option to _values (look at all words); change _dd back (15597) 2001-08-08 07:20:56 +00:00
Oliver Kiddle
9c5a1ba117 correction (unposted) 2001-08-06 15:56:23 +00:00
Sven Wischnowsky
c83d16f8ee another fix for 15477 (separator strings); add list-separator style (15484) 2001-07-25 12:18:23 +00:00
Sven Wischnowsky
8c1b953b5a add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user (15407) 2001-07-18 13:10:07 +00:00
Sven Wischnowsky
72b56dc458 add preserve-prefix style to keep pathname prefix unchanged (15400) 2001-07-17 09:04:29 +00:00
Sven Wischnowsky
78087d2e8d (14736) 2001-06-06 09:50:39 +00:00
Oliver Kiddle
63a32f3c34 correct alphabetical order in lists of styles, tags, functions and modules 2001-05-31 11:58:40 +00:00
Oliver Kiddle
56528ccb66 spelling corrections 2001-05-29 17:54:08 +00:00
Clint Adams
da9fa61207 14509: ZLS_COLOURS/ZLS_COLORS consistency 2001-05-28 16:01:01 +00:00
Sven Wischnowsky
e859ee1a4b add description of how to add a auto-removable suffix when using a ->state action with _values (14279) 2001-05-09 08:55:58 +00:00
Sven Wischnowsky
83032fe876 add -S option to specify separator between values and their arguments; make _values add the value-separator as a suffix for most types of actions (14257) 2001-05-08 12:24:21 +00:00
Sven Wischnowsky
ff82191c26 empty description means: don't add a -X option (14252) 2001-05-08 08:46:59 +00:00
Sven Wischnowsky
6f2112f23a try to improve testing for suffix style in _expand; make _path_files fail to complete words like ...<pat>..<param-subst>... (14133) 2001-04-27 09:12:33 +00:00
Sven Wischnowsky
b4b6d57e2c 14117 2001-04-26 14:40:11 +00:00
Sven Wischnowsky
727912d1cb handle sub-sub-directories of $_compdir as in the CVS-layout (14107) 2001-04-26 13:03:24 +00:00
Sven Wischnowsky
aa99b19c08 rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105) 2001-04-26 12:13:36 +00:00
Sven Wischnowsky
163b0101ed add -W option to _arguments, which allows to complete options after options that take an argument in the next word (13902) 2001-04-04 11:29:19 +00:00
Sven Wischnowsky
3d7263ff67 after-move cleanup 2001-04-02 13:04:04 +00:00
Oliver Kiddle
b9c58a73ac various doc fixes and minor completion function changes, most of which
are to use the -A "-*" and -S options to _arguments (13863)
2001-04-01 16:19:15 +00:00
Sven Wischnowsky
8d610f7724 more cleanup; simplify the stop and liststyles; try to make it obey whatever _main_complete says should be done (menu-wise) (13815) 2001-03-28 12:17:12 +00:00
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