1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00
Commit graph

32 commits

Author SHA1 Message Date
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
3beeb8a6fd avoid reporting the same ->state more than once (11678) 2000-05-31 06:11:07 +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
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
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
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
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
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
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
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
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
e0dc07932a Initial revision 1999-08-19 11:18:10 +00:00