1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 17:01:19 +02:00
Commit Graph

180 Commits

Author SHA1 Message Date
Sven Wischnowsky
6db6cde964 re-display list for cleanup only if we were in menu selection (13084) 2000-10-25 10:52:25 +00:00
Sven Wischnowsky
9e44b5ea29 add a counter for invalidatelist() to allow finding out if there is a new list (13082) 2000-10-25 08:18:43 +00:00
Sven Wischnowsky
ead3cee30d avoid printing file type characters in completion lists for matches ending in a slash (13071) 2000-10-24 07:50:24 +00:00
Bart Schaefer
de595fbc90 Fix "vared -e". 2000-10-22 02:34:16 +00:00
Bart Schaefer
9bf7fb75c5 Fix "vared -h" in shell scripts. 2000-10-21 03:15:36 +00:00
Sven Wischnowsky
8ec18a622c *** empty log message *** 2000-10-17 14:04:13 +00:00
Sven Wischnowsky
bb1fabf3ff two completion matching fixes; wrong (path) prefix matching (removed path components) and reverse order of sub-strings in match-strings (12995) 2000-10-13 08:44:57 +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
5d8adbee07 make user defined completion widgets leave menu selection without accepting the currently selected match (12959) 2000-10-11 10:57:40 +00:00
Sven Wischnowsky
bd4490b966 *** empty log message *** 2000-10-10 13:37:30 +00:00
Sven Wischnowsky
7bb0338a78 follow-up to 12930, make it first try exact character matches, but enable it to go back to try match specs if it fails after accepting such character matches (12941) 2000-10-10 08:36:32 +00:00
Sven Wischnowsky
3f63f13610 prefer exact character matches over match specs (so that nom' can match nomatch') (12930) 2000-10-09 12:50:20 +00:00
Sven Wischnowsky
a93e62c630 comparguments: don't use rest-argument-specification if it was inactivated (12897) 2000-10-05 08:55:35 +00:00
Sven Wischnowsky
6c4dfc3228 don't stop parsing too early when completing inside a command substitution (12885) 2000-10-04 13:54:00 +00:00
Sven Wischnowsky
213a453d08 don't forget a displayed list when starting menu completion (12884) 2000-10-04 13:24:45 +00:00
Clint Adams
8e628ac624 unposted: remove unused variable declaration from ztat() 2000-10-01 23:43:55 +00:00
Clint Adams
f42bd3a3f9 12863: remove ztrdupstrip, use VARARR in ztat 2000-09-27 19:31:44 +00:00
Clint Adams
2a625db39d 12859: dynamically-allocate buffer in ztat(), ztrdupstring() 2000-09-22 22:16:15 +00:00
Peter Stephenson
942009eb9f 12719: quoting arrays in vared with real backslashes 2000-08-29 20:27:47 +00:00
Sven Wischnowsky
f4f38507e5 fix for unbalanced calls to {push,pop}heap in docomplete()/get_comp_string() (12717) 2000-08-29 08:20:59 +00:00
Bart Schaefer
7a38b670a7 12621: Avoid bad free. 2000-08-14 16:54:04 +00:00
Sven Wischnowsky
90c6d73b56 make all builtins in computil test if they were called from a completion function (12610) 2000-08-14 08:16:45 +00:00
Sven Wischnowsky
4f13bbd654 fixes for completion in math contexts (12592) 2000-08-11 12:19:35 +00:00
Sven Wischnowsky
3bca186819 handle the right option in strings with multiple single-letter options (and correctly handle its argument) (12567) 2000-08-08 12:11:42 +00:00
Sven Wischnowsky
5c90cf1a51 more fixes for completion of special characters (quoting) (12565) 2000-08-08 10:32:47 +00:00
Sven Wischnowsky
a23d39ce38 make binding of ^D be used in first column if ignoreeof is set and ^D is bound to a shell function widget (12494) 2000-08-03 07:51:53 +00:00
Peter Stephenson
4f1aa826f5 Andrej: Dynamic loading on cygwin 2000-08-02 18:01:51 +00:00
Peter Stephenson
0aee5e1bb4 12414: vared quotes separators when editing arrays 2000-07-27 17:48:47 +00:00
Sven Wischnowsky
d3ceb5e0eb compdescribe shouldn't use the sets after failed initialisation 2000-07-27 08:32:02 +00:00
Wayne Davison
90fdda1c33 Call hend() with a NULL arg. 2000-07-19 21:10:18 +00:00
Sven Wischnowsky
e4c9131b83 a bit of security for a VARARR() (12314) 2000-07-19 14:04:57 +00:00
Sven Wischnowsky
67f16de104 don't let duplicate matches keep us from recognising exact matches if they produce the same string on the line (12297) 2000-07-18 08:37:14 +00:00
Sven Wischnowsky
d666896fa3 don't treat non-option arguments as options (12266) 2000-07-17 08:05:56 +00:00
Sven Wischnowsky
b46926af8d fix for _arguments with single-letter options: recognize option-strings with multiple options; in _main_complete stop trying completers when one called _message, don't display warnings in such cases (12241) 2000-07-13 11:03:59 +00:00
Sven Wischnowsky
663ecf8e12 fix zle widget -n num with num>9 (12238) 2000-07-13 09:11:54 +00:00
Oliver Kiddle
708dc69d38 AIX dependency fixes 2000-07-04 15:04:17 +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
806e8aa6af quote brace-strings (12113) 2000-06-29 06:59:00 +00:00
Sven Wischnowsky
04bf39bf2e fix for list-colors handling (12107) 2000-06-28 13:59:21 +00:00
Sven Wischnowsky
0334b4df7c make a-a-i-n-h in menu selection work with one match; better undo behaviour for menu selection (12093) 2000-06-28 07:29:59 +00:00
Sven Wischnowsky
3ff5a17d8c remove compfmt; a bit of explanation for compfiles and compgroups (12068) 2000-06-26 08:36:42 +00:00
Sven Wischnowsky
470515922c typo in _history; missing free()s in zle_tricky.c (12067) 2000-06-26 08:20:33 +00:00
Sven Wischnowsky
4d656bfb0e missing allocation of list for option arguments (12066) 2000-06-26 08:10:33 +00:00
Sven Wischnowsky
37b5477437 *** empty log message *** 2000-06-22 09:42:10 +00:00
Sven Wischnowsky
b9a533f382 allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029) 2000-06-22 08:42:36 +00:00
Sven Wischnowsky
cde71bb1a5 make undo break out of menu selection if nothing to undo inside it (11992) 2000-06-19 14:51:06 +00:00
Sven Wischnowsky
c071087d1f _arguments: small fix for -s and new `!...' for things not to complete (but to understand) (11985) 2000-06-19 13:09:06 +00:00
Sven Wischnowsky
11ec14c3b3 more careful when optimising patterns in compfiles (11981) 2000-06-19 11:43:12 +00:00
Sven Wischnowsky
083befef2b new match spec characters bBeE, match only word/line not both (11977) 2000-06-19 10:48:21 +00:00
Sven Wischnowsky
a295e82c1e allow _expand to expand braces; better detection of braces to complete in C (11973) 2000-06-19 09:55:31 +00:00