1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 14:04:03 +01:00
Commit Graph

237 Commits

Author SHA1 Message Date
Sven Wischnowsky
51503a87a2 (only the patch to compmatch.c from the mail); improve merging cline lists coming from different IPREFIX/PREFIX combinations and such by avoiding to generate cline structs for empty parts after a match spec anchor cline struct (15123) 2001-06-27 13:18:38 +00:00
Sven Wischnowsky
e067118efc fix for finding the first ambiguous path component in compfiles (3946) 2001-06-26 09:05:10 +00:00
Sven Wischnowsky
bbd2a98f41 make expand-word not always restore the command line (3940) 2001-06-25 09:32:21 +00:00
Bart Schaefer
2e4a17b32f Change magic-space to respect !". 2001-06-24 03:42:09 +00:00
Bart Schaefer
0672033cfc Compiler warnings. 2001-06-19 15:46:53 +00:00
Sven Wischnowsky
a5a5aa4e3e fixes for display bugs for completion lists (cursor left one line to far up or down) (14903) 2001-06-13 14:03:44 +00:00
Sven Wischnowsky
71a9847d48 fix for comparguments (completing after single letter options that get their argument in the next word); make _values ignore some of the standard option it may get; make _mount use _dir_list in some places and improve that; `document' comparguments and compvalues with some comments in computil.c (14897) 2001-06-13 11:05:51 +00:00
Sven Wischnowsky
9cc9cc9466 (14841) 2001-06-11 11:46:23 +00:00
Sven Wischnowsky
0ce4b800a3 fix for exclusion of normal arguments (14630) 2001-06-01 08:53:50 +00:00
Sven Wischnowsky
171855e2e2 fix tag-order problem with _arguments (completion after an option that gets an argument in the same word); and a fix for completion after -ab, where -a gets an argument in the next word and -b gets one in the same word (14607) 2001-05-31 12:38:34 +00:00
Sven Wischnowsky
1b2d095217 fix two memory leaks (at least I hope they are fixed) and some out-of-bound array accesses, plus some defensive programming for heap allocated param structs (14605) 2001-05-31 09:43:59 +00:00
Clint Adams
ac4d669afb 145??: fix thinko 2001-05-29 21:41:53 +00:00
Clint Adams
e56c42c9fe 145??: repeat last vi history search if search string is blank 2001-05-29 20:20:34 +00:00
Sven Wischnowsky
1d5fbf228d fix for cursor positioning with that -y option of compctl (display strings) (14507) 2001-05-28 11:42:00 +00:00
Wayne Davison
f18dca3266 Fixed acceptandinfernexthistory() to work when called repeatedly.
Also changed it to not accept the line if the infer fails.  Ignore
transient edits in the history when searching for an inference and
grabbing the next line (affecting acceptandinfernexthistory(),
infernexthistory(), and acceptlineanddownhistory()).
2001-05-26 20:57:16 +00:00
Bart Schaefer
071b084ea8 Signal queuing tweak. 2001-05-17 15:56:12 +00:00
Sven Wischnowsky
8e20d1da63 more fixage for expansion: just convert the command line to the original when expansion shouldn't or couldn't do something sensible on the line (14359) 2001-05-16 10:27:06 +00:00
Sven Wischnowsky
dc9d78c659 (14350) 2001-05-15 13:52:22 +00:00
Sven Wischnowsky
2c38f5bba1 barf if a empty string is given as one of the separators for _values (14293) 2001-05-10 08:52:30 +00:00
Sven Wischnowsky
83032fe876 add -S option to specify separator between values and their arguments; make _values add the value-separator as a suffix for most types of actions (14257) 2001-05-08 12:24:21 +00:00
Sven Wischnowsky
a3e01003c8 print space/backspace when reacing the last column while printing descriptions and the like to avoid a cursor positioning bug depending on the kind of terminal (autowrap) (14251) 2001-05-08 08:14:33 +00:00
Bart Schaefer
5aa1c04fd6 Prevent "no multi-letter values" error on values of '\:' and '' in compvalues(). 2001-05-06 22:37:51 +00:00
Sven Wischnowsky
1e79a3424f 14214 2001-05-03 07:13:37 +00:00
Sven Wischnowsky
ca29f22a86 remove quotes when looking at arguments in comparguments (14198) 2001-05-02 09:23:07 +00:00
Sven Wischnowsky
aa99b19c08 rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105) 2001-04-26 12:13:36 +00:00
Sven Wischnowsky
f18218f2ad fix a sizeof() to strlen() 2001-04-25 09:05:10 +00:00
Peter Stephenson
95733c61c2 bindkey -rp removes prefix bindings; bindkey -p bugfix 2001-04-19 19:43:45 +00:00
Sven Wischnowsky
e4e2e4f916 use the right path patterns for completion functions 2001-04-19 10:39:45 +00:00
Sven Wischnowsky
a924eeba12 only use the exclusion lists of options that are not currently being completed, but keep options from being completed more than once (13999) 2001-04-17 09:52:32 +00:00
Sven Wischnowsky
6150ef8696 (13892) fixes for fpaths and completion matching 2001-04-03 11:25:11 +00:00
Sven Wischnowsky
3d7263ff67 after-move cleanup 2001-04-02 13:04:04 +00:00
Sven Wischnowsky
c05a2d2093 make _arguments -S' still complete long options after --<TAB>'; fix for cursor positioning with partial word match specs (13868) 2001-04-02 09:05:47 +00:00
Peter Stephenson
19a8356ff1 Add `bindkey -p' 2001-03-28 16:54:21 +00:00
Sven Wischnowsky
6d72dca54f try to make _h_c_w smarter at the beginning and end of the list; avoid list-beeping if the old completion list is re-used (3752) 2001-03-27 09:14:50 +00:00
Sven Wischnowsky
5687662ec1 handle colons in xor lists (13770) 2001-03-26 10:02:23 +00:00
Sven Wischnowsky
4e994fddce avoid adding empty strings to the kill ring (13767) 2001-03-26 08:58:33 +00:00
Sven Wischnowsky
d83665b7cf fix default colour for directories (3674) 2001-03-15 09:55:32 +00:00
Peter Stephenson
2d442fff86 13633: don't use termcap cursor keys if single key which is already bound 2001-03-14 12:20:17 +00:00
Peter Stephenson
c925a15aa7 13611, 13615: Bind cursor keys using termcap, including in viins. 2001-03-13 15:32:41 +00:00
Sven Wischnowsky
c8f2e51007 another fix for completion matching, CLF_MISS in the wrong cline struct (13575) 2001-03-06 11:31:20 +00:00
Sven Wischnowsky
eb41692bc5 fix for matching control, try harder to merge separately completed parts to avoid losing user-typed characters (13565) 2001-03-05 10:48:10 +00:00
Sven Wischnowsky
061c1ce912 add `aliases' option to be able to disable alias expansion (13554) 2001-02-28 09:12:54 +00:00
Sven Wischnowsky
193846af84 fix for mergin two CLF_MID entries in cline lists (with two equal prefixes it thought there were characters missing) (13388) 2001-01-25 15:16:27 +00:00
Sven Wischnowsky
bdaa4f4c05 *** empty log message *** 2001-01-22 12:03:55 +00:00
Sven Wischnowsky
c06782d95b *** empty log message *** 2001-01-18 14:41:40 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Sven Wischnowsky
052316fea3 fix for ol' compctl when completing hash keys (13364) 2001-01-16 12:39:21 +00:00
Sven Wischnowsky
4a39b5d9c5 two more fixes for completion matching and reporting interesting positions (13349) 2001-01-15 10:44:14 +00:00
Sven Wischnowsky
a11115ecee fix for 13339 (report each position only once) and fixlet for matching: a case where missing characters weren't remembered (13343) 2001-01-12 13:50:13 +00:00
Sven Wischnowsky
2a78c24842 *** empty log message *** 2001-01-11 10:06:40 +00:00