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

174 Commits

Author SHA1 Message Date
Sven Wischnowsky
4f13bbd654 fixes for completion in math contexts (12592) 2000-08-11 12:19:35 +00:00
Oliver Kiddle
5851a32681 add -g option to _parameters to restrict type of parameters completed (12583) 2000-08-10 21:22:25 +00:00
Sven Wischnowsky
5c90cf1a51 more fixes for completion of special characters (quoting) (12565) 2000-08-08 10:32:47 +00:00
Sven Wischnowsky
55b07cb525 quoting 2000-08-03 13:35:43 +00:00
Sven Wischnowsky
7bf1f0292d one more problem with quoting of glob characters in filename completion (12496) 2000-08-03 11:12:30 +00:00
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
cd2984fb66 make $compcontext more powerful and easier to use for simple cases 2000-08-01 07:19:15 +00:00
Peter Stephenson
4f9ff8206b Add compaudit to .distfiles; 3.1.9-dev-4 2000-07-31 09:34:37 +00:00
Sven Wischnowsky
3343c75efd fix a bug that started menu selection too often; fix bug for `yes=long' and document it (12405) 2000-07-27 10:59:43 +00:00
Sven Wischnowsky
97a345de50 don't hide possible completions if there is only one and at the same time messages are shown (12394) 2000-07-27 07:25:07 +00:00
Bart Schaefer
f303f2ea63 Belatedly fold in 12162, to replace command subst with eval. 2000-07-26 09:16:13 +00:00
Bart Schaefer
04aaf1cd7f Move compinit security checks into compaudit. 2000-07-26 08:54:58 +00:00
Sven Wischnowsky
0e8c318b8e optimisations for _multi_parts (12354) 2000-07-24 12:52:41 +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
Peter Stephenson
4f9a7e27d4 12231: fix compinstall list-prompt setting 2000-07-12 11:04:07 +00:00
Peter Stephenson
cc2213b340 12227: select-prompt handled by compinstall 2000-07-12 10:19:59 +00:00
Sven Wischnowsky
8e2fa4d9b2 don't start menu selection with only select=long (12226) 2000-07-12 09:25:18 +00:00
Sven Wischnowsky
961876dca4 avoid insertion of `+' before ~1/<TAB>; don't use undeclared local $tmp (12208) 2000-07-10 08:03:36 +00:00
Bart Schaefer
e1fe756d14 12160: Cause compdump to fail early if it won't be able to write the file. 2000-07-04 16:16:34 +00:00
Sven Wischnowsky
41404fb6c7 add some $(print...)s because of possible math-parse errors (12156) 2000-07-04 08:07:24 +00:00
Bart Schaefer
6f8986d370 12148: Don't merge display-ordering glob flags into the parens of $(...). 2000-07-03 17:45:46 +00:00
Peter Stephenson
044e8e054c 12140: make key rebinding for _expand complter easier 2000-07-03 14:00:44 +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
Bart Schaefer
4ed8c26c50 12133: Protect completion system from stray error output and assorted fatal
errors when expanding strings taken from the command line.
2000-07-02 17:21:54 +00:00
Sven Wischnowsky
d01795be2a reverse meaning of yes=num again (12122) 2000-06-29 09:32:04 +00:00
Sven Wischnowsky
a9d46be89d try to return the right value (12119) 2000-06-29 08:20:32 +00:00
Sven Wischnowsky
4bf681950b don't expand partially typed parameter expansions (12118) 2000-06-29 08:09:45 +00:00
Sven Wischnowsky
d15f36ab5b change suffix style to still do expansion if the suffix contains something to expand (12115) 2000-06-29 07:10:31 +00:00
Sven Wischnowsky
4e2e7f292f even more fun with the menu style (no=num, yes=long-list, reverse meaning of yes=num) (12114) 2000-06-29 07:04:17 +00:00
Sven Wischnowsky
806e8aa6af quote brace-strings (12113) 2000-06-29 06:59:00 +00:00
Sven Wischnowsky
4c7469778a make _complete return the right value (12109) 2000-06-28 14:27:25 +00:00
Sven Wischnowsky
04bf39bf2e fix for list-colors handling (12107) 2000-06-28 13:59:21 +00:00
Sven Wischnowsky
45a6914ed7 reset _comp_mesg (saying whether there were messages) appropriately (12105) 2000-06-28 09:42:50 +00:00
Sven Wischnowsky
f4a09871b0 make _oldlist not use the dummy match added for the warning (12099) 2000-06-28 09:04:02 +00:00
Sven Wischnowsky
9eca7fc726 menu style accepts yes=x to start menu completion if there are at least x matches (3219) 2000-06-27 15:05:33 +00:00
Peter Stephenson
29030cc13b 12076: better saving in file in compinstall 2000-06-26 16:17:52 +00:00
Sven Wischnowsky
b4f914f784 fix for completer lookup in _ignored (12070) 2000-06-26 09:36:12 +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
f45c9cb8f2 compinit some more (12043) 2000-06-23 08:05:41 +00:00
Sven Wischnowsky
806220d4ff even more compiinit stuff, change prompt, search for insecure parent dirs (12041) 2000-06-23 07:10:40 +00:00
Sven Wischnowsky
6218b6dc19 followup to compinit-security patch (12033) 2000-06-22 11:09:17 +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
1c710d4627 make history completion use I{PREF,SUF}FIX (12011) 2000-06-21 08:05:28 +00:00
Sven Wischnowsky
fb7bc3a9c7 a bit of security for compinit (avoid using things writable by others); avoid handling files with the same name twice; remove compconf (11998) 2000-06-20 07:15:38 +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
Sven Wischnowsky
2769b19881 improve filename completion; use accept-exact for in-path completion; new fake style (11971) 2000-06-19 09:32:30 +00:00
Sven Wischnowsky
4299878002 restore ZLS_COLORS when possible; better group-name handling in ZLS_COLORS (3188) 2000-06-19 08:47:43 +00:00
Clint Adams
bfaf5478a3 11966: double brackets around comparison to prevent 'command not found: no' 2000-06-18 14:16:24 +00:00
Sven Wischnowsky
ae2b3953df enhance ignore-line to ignore all/current/other word(s) (11938) 2000-06-16 07:38:59 +00:00