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

96 Commits

Author SHA1 Message Date
Sven Wischnowsky
8f7beea079 fix for comparguments to make -s have an effect again (11552) 2000-05-24 08:32:12 +00:00
Sven Wischnowsky
22c3204495 add -[ak] options to compadd (11533) 2000-05-23 14:23:16 +00:00
Sven Wischnowsky
7f9f81f3e2 save and restore more variables in bufferwords(); move gotword() into core (11523) 2000-05-23 08:20:56 +00:00
Sven Wischnowsky
01bd1c61ae make sure wouldinstab is set before calling docomplete() (11503) 2000-05-22 14:50:07 +00:00
Sven Wischnowsky
fa50c70000 fix for clines in suffix (11496) 2000-05-22 12:14:37 +00:00
Sven Wischnowsky
91f40b975f be more careful when decided if to insert tabs instead of completing (11493) 2000-05-22 11:28:29 +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
007cfdff55 fix for a-a-m-c in menu selection; scroll explanations onto screen again (11487) 2000-05-22 08:47:30 +00:00
Sven Wischnowsky
7672efed2e fix for unambiguous string insertion (11466) 2000-05-19 08:33:06 +00:00
Sven Wischnowsky
781a5bd4b1 small doc fix; make compcall autoload compctl module (11457) 2000-05-18 09:22:31 +00:00
Sven Wischnowsky
05d3c175a5 add Felix' completion matching test; some fixes for bugs shown by it (11439) 2000-05-17 11:59:32 +00:00
Sven Wischnowsky
aa17f0db6d fix scrolling in menu-selection with matches spanning multiple lines 2000-05-16 10:45:01 +00:00
Sven Wischnowsky
57ed8b5441 make menu-select accept the match when typing a non-special character (11401) 2000-05-16 08:05:15 +00:00
Sven Wischnowsky
8272394e7e extra paranoia for empty prefix/suffix in completion matching (11374) 2000-05-15 11:55:38 +00:00
Sven Wischnowsky
db95186da5 fix for completion of string with single quote (11365) 2000-05-15 09:54:46 +00:00
Sven Wischnowsky
6d4bdb661d fix for suffix-matching; better in-path completion in _path_files (11364) 2000-05-15 09:34:11 +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
984bae21ba fixes for completion matching (11346) 2000-05-12 11:52:30 +00:00
Sven Wischnowsky
6472a2b7bc fix for compadd -x when there are no matches (11335) 2000-05-12 07:03:41 +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
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
8272e68ecc AIX dependency fix 2000-05-10 15:01:19 +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
5b5c0e8fc9 fix for `-+opt' with mutex list (11294) 2000-05-10 08:20:40 +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
Sven Wischnowsky
cfcb3202ef more problems with optional arguments in _arguments (11253) 2000-05-08 10:37:58 +00:00
Sven Wischnowsky
029483745b better cursor positioning in words with multiple ambiguous word parts (11248) 2000-05-08 09:29:22 +00:00
Sven Wischnowsky
92637abbb8 misc. completion cleanups and changes (11242) 2000-05-08 08:16:32 +00:00
Sven Wischnowsky
04118530d4 some more memory initialisation after allocation; shouldn't possibly have done any harm (11193) 2000-05-05 12:06:21 +00:00
Sven Wischnowsky
c05f118fc2 fix for completion arguments of options, don't use all of them at once (11172) 2000-05-05 07:37:17 +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
70e5b622ff new (z) parameter flag to do shell-word splitting on the value (11113) 2000-05-03 12:21:55 +00:00
Sven Wischnowsky
0d6350d65a remove backslashes before $' in _expand when substitute' is unset; fix for clearing end-of-list lines in menu-selection (11110) 2000-05-03 11:52:00 +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
Bart Schaefer
966eca4ad8 11036, 11063, 11077: Always write the "read -q" prompt to shout; eliminate
some redundant close() calls; relocate a misplaced redirection.
2000-05-02 15:52:43 +00:00
Sven Wischnowsky
997d40c05d add -x option to compadd to display message unconditionally 2000-05-02 10:30:41 +00:00
Sven Wischnowsky
d67ca6872e fix for _arguments, use on-line-argument-numbers only for normal arguments, not for arguments of options (11052) 2000-05-02 08:56:28 +00:00
Oliver Kiddle
ddd8614e51 AIX dependency fixes 2000-04-30 17:58:35 +00:00
Sven Wischnowsky
5a3fe9220d misplaced cursor with partial-word matching (11007) 2000-04-28 12:42:24 +00:00
Sven Wischnowsky
b577adea40 fix for reporting multiple actions in comparguments, options with non-optional arguments (11003) 2000-04-28 11:16:52 +00:00
Sven Wischnowsky
b19f915a4f avoid wrapping around both horizontally and vertically at the same time (10992) 2000-04-28 07:39:08 +00:00
Sven Wischnowsky
a35472cb31 better wrap around for cursor movement widgets; avoid flicker when leaving menu-selection (10978) 2000-04-27 13:40:52 +00:00
Sven Wischnowsky
eb2bfcd555 fix for parse error with left-anchored patterns (10963) 2000-04-27 09:04:32 +00:00
Sven Wischnowsky
77f5b71cec make menu-selection handle undefined-key (10961) 2000-04-27 08:55:06 +00:00
Sven Wischnowsky
8974ab59c0 *** empty log message *** 2000-04-27 08:23:33 +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