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

61 Commits

Author SHA1 Message Date
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