1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
Commit Graph

126 Commits

Author SHA1 Message Date
Sven Wischnowsky
932f096df9 moved from Completion/Core/_main_complete 2001-04-02 11:03:18 +00:00
Sven Wischnowsky
422579b1e7 moved from Completion/Core/_description 2001-04-02 11:03:01 +00:00
Sven Wischnowsky
c789f5dbdb moved from Completion/Core/_all_labels 2001-04-02 11:02:44 +00:00
Sven Wischnowsky
975b4c58d3 don't add options as completions if a `->state' action was used and we are directly after the option (in the same word) (13809) 2001-03-28 09:50:36 +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
aa9c315cc8 comment out looking up the prefix-needed style when completing directory stack entries; make _tilde use _popd, finally (13789) 2001-03-27 12:22:53 +00:00
Oliver Kiddle
e264c1bee1 Various new, improved, fixed or updated functions (13600) 2001-03-11 22:53:41 +00:00
Peter Stephenson
f46ad1753b Dist more files 2001-03-08 12:03:33 +00:00
Sven Wischnowsky
183f6b06d0 some small functions for completing sub-commands (generic function, init scripts, apachectl) (13536) 2001-02-26 15:05:37 +00:00
Sven Wischnowsky
b9f6bdf162 add fake-parameters style to allow completing parameters which are not yet set (12946) 2000-10-10 14:12:21 +00:00
Oliver Kiddle
5b04efd73c add -g option to _parameters to restrict type of parameters completed (12583) 2000-08-10 21:12:03 +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
eabfc368bd prefer user-defined specs over ones derived from --help output (12475) 2000-08-02 09:09:54 +00:00
Sven Wischnowsky
81fc1bf26c fix for automatically recognised options, don't expect an argument after each of them (12462) 2000-08-01 11:20:59 +00:00
Sven Wischnowsky
3896f72f4d make $compcontext more powerful and easier to use for simple cases (12449) 2000-08-01 07:18:43 +00:00
Sven Wischnowsky
e7f9104711 make _arguments --' use specs after the --' even for options not described in the help output to get arguments (12378) 2000-07-26 08:44:13 +00:00
Sven Wischnowsky
f90992ec31 allow _value:<assoc> functions to override completion for all keys of an assoc (3337) 2000-07-26 08:16:39 +00:00
Sven Wischnowsky
fd25b24df6 use compadd -[ak] (11549) 2000-05-31 09:38:25 +00:00
Sven Wischnowsky
3beeb8a6fd avoid reporting the same ->state more than once (11678) 2000-05-31 06:11:07 +00:00
Peter Stephenson
d7163e6369 _argument_sets removed from .distfile 2000-05-30 09:30:08 +00:00
Sven Wischnowsky
47c0bd0db1 fixes for _arguments without multiple sets; change completion test for empty actions (11647) 2000-05-30 07:49:00 +00:00
Sven Wischnowsky
d22ee9a5ba keep information about things to complete in _arguments (11631) 2000-05-29 09:15:12 +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
7a3ca7a673 11618: Fix bad shift. 2000-05-28 21:10:13 +00:00
Sven Wischnowsky
6959ffd962 force listing in _complete_debug; make complist with list-scrolling stopt at the end of the list when prompt would scroll it out; fix _in_vared to handle `foo[bar]' (11565) 2000-05-25 07:58:44 +00:00
Sven Wischnowsky
ee681a32ad use set -A' instead of eval' in more places (11525) 2000-05-23 08:54:30 +00:00
Bart Schaefer
7d19431901 11515: Fix infinite loop. 2000-05-22 17:17:52 +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
Sven Wischnowsky
f9e65c2b1f don't use $match for something different than (#b)ackrefs (11464) 2000-05-19 08:24:16 +00:00
Sven Wischnowsky
95883d8b95 avoid tilde- and parameter-completion in quotes (11407) 2000-05-16 11:24:55 +00:00
Sven Wischnowsky
0129f41d80 make _arguments take the attempt to add matches as an indication not to do default option-completion (11406) 2000-05-16 11:15:24 +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
a6ed22c585 fix for completing options with _arguments -s'; fix for _message to use builtin compadd' (11349) 2000-05-12 14:36:46 +00:00
Sven Wischnowsky
567e221218 make _argument_sets add the options as defaults when there is nothing else to complete (11324) 2000-05-11 11:27:39 +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
Oliver Kiddle
d624558051 Use _math for completing the let builtin 2000-05-09 17:16:08 +00:00
Sven Wischnowsky
8a5fb55595 option name clash in _arguments (11273) 2000-05-09 09:52:27 +00:00
Sven Wischnowsky
6626f6dc86 fix for _arguments without options and no more arguments to complete (11272) 2000-05-09 09:44:26 +00:00
Sven Wischnowsky
cfcb3202ef more problems with optional arguments in _arguments (11253) 2000-05-08 10:37:58 +00:00
Peter Stephenson
38bb84d975 11194, 11200, 11214 2000-05-08 08:58:37 +00:00
Bart Schaefer
c15091b7d1 11236: Handle tabs between options and their descriptions when parsing --help. 2000-05-06 18:48:26 +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
6a93b85903 11166: Completion/Base/_regex_arguments: remove debugging code. 2000-05-04 20:46:57 +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
b5594215dd make sure that completion messages are displayed even when there are no matches (11092) 2000-05-03 08:35:33 +00:00
Sven Wischnowsky
753cc6b22a completion cleanup, mostly _wanted and $expl (11049) 2000-05-02 08:23:31 +00:00
Sven Wischnowsky
3d088f16aa make completion-in-vared complete parameter values as default; cleanup for _path_files (11048) 2000-05-02 08:18:54 +00:00
Sven Wischnowsky
5d89ce8e65 ensure $PWD is prepended to cache-names for long options in _arguments (10974) 2000-04-27 12:07:35 +00:00
Sven Wischnowsky
a2365a9c6a fix for automatic option-argument completion with partially typed option in _arguments (10967) 2000-04-27 09:36:51 +00:00
Sven Wischnowsky
2f90974c38 small fix for _requested to be able to use _all_labels from within it (10910) 2000-04-25 11:00:06 +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
5ea4efe2b6 change suffix added when completing an assigned value (10807) 2000-04-18 12:26:30 +00:00
Sven Wischnowsky
1fb481b8c2 better completion after `=', everywhere (10780) 2000-04-17 08:22:44 +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
Sven Wischnowsky
d779b43f42 make sure caller-supplied explanation takes precedence (10579) 2000-04-07 12:43:31 +00:00
Sven Wischnowsky
80ac43783a support automatically inserted dummy in $words 2000-04-05 12:06:30 +00:00
Peter Stephenson
e025336f2f Updated from list as far as 10376 2000-04-01 20:43:43 +00:00
Tanaka Akira
22fe82a7bb zsh-workers:8631 1999-11-14 20:14:45 +00:00
Tanaka Akira
818c8db904 zsh-workers:8515 1999-11-03 11:01:23 +00:00
Tanaka Akira
34048139f9 Initial revision 1999-11-03 10:57:07 +00:00
Tanaka Akira
455110d26a Initial revision 1999-11-02 12:51:20 +00:00
Tanaka Akira
65392c396b Initial revision 1999-10-26 15:36:11 +00:00
Tanaka Akira
e7384c33a4 Initial revision 1999-09-22 13:33:14 +00:00
Tanaka Akira
343829717a Initial revision 1999-09-21 01:24:44 +00:00
Tanaka Akira
1595df61e6 Initial revision 1999-09-15 14:35:20 +00:00
Tanaka Akira
b60c50097d Initial revision 1999-09-08 13:11:06 +00:00
Tanaka Akira
c4b0e2f297 Initial revision 1999-09-06 09:16:29 +00:00
Tanaka Akira
c8858e7580 zsh-3.1.6-pws-2 1999-08-31 14:05:07 +00:00
Tanaka Akira
6677dead9b Now, Completion/Cvs is available. 1999-08-26 11:14:34 +00:00
Tanaka Akira
e0dc07932a Initial revision 1999-08-19 11:18:10 +00:00
Tanaka Akira
8d1b4b1358 Sync up with zsh-3_1_6-pws-1. 1999-08-12 22:59:04 +00:00
Tanaka Akira
903f59baaa Initial revision 1999-07-24 14:02:01 +00:00
Tanaka Akira
fcd7cd1cfa Initial revision 1999-06-08 09:26:01 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00