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

201 Commits

Author SHA1 Message Date
Sven Wischnowsky
3e6563dd03 new _expand_aliases to, well, expand aliases (13566) 2001-03-05 13:18:59 +00:00
Oliver Kiddle
9ccaaa40eb Work when ksh_arrays is set but before the setopt takes effect (13555) 2001-02-28 16:35:49 +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
183f6b06d0 some small functions for completing sub-commands (generic function, init scripts, apachectl) (13536) 2001-02-26 15:05:37 +00:00
Sven Wischnowsky
d9b00a3870 make compdef foo=bar' use the service defined for bar' if there is any (13494) 2001-02-16 14:57:48 +00:00
Sven Wischnowsky
90b07817db wehn using glob_complete, don't treat everything starting with a tilde as a pattern (13459) 2001-02-13 09:23:34 +00:00
Bart Schaefer
275f3c95d4 Add 'glob' to $_comp_options. 2001-02-13 03:16:54 +00:00
Sven Wischnowsky
006e966e43 two small fixes to _multi_parts; one more place where a caller-supplied -S can be used and fix for the code deciding which prefix to use (13450) 2001-02-09 14:01:57 +00:00
Sven Wischnowsky
8ff6a955fe Peter:13427: filename-quoting fix in _expand 2001-02-02 08:18:49 +00:00
Sven Wischnowsky
ca585f812b add `services', allowing easier re-use of (parts of) completion functions (13346) 2001-01-15 09:11:31 +00:00
Bart Schaefer
ad5f9584c1 ALL_EXPORT tweaks. 2000-11-25 23:50:01 +00:00
Sven Wischnowsky
e0dc80e0e5 aloow value `pattern' for insert-unambiguous style to preserve patterns in the original string; add list-suffixes style to make file completion list path suffixes if possible; slightly improved completion of pathnames with multiple pattern-components (13128) 2000-11-08 09:20:42 +00:00
Bart Schaefer
ab99c6d8b6 Use bareglobqual. 2000-11-05 03:34:36 +00:00
Sven Wischnowsky
865f3961b7 change some tags used in filename completion: no tag for file-sort, fake-files and ignore-parents, paths for accept-exact (13037) 2000-10-23 08:07:32 +00:00
Sven Wischnowsky
e14a02f440 simplify setting standard completion system options using $_comp_options (13036) 2000-10-19 08:58:17 +00:00
Peter Stephenson
4c2807e313 3.1.6-dev-7 2000-10-17 12:55:41 +00:00
Sven Wischnowsky
f23b23e8a3 remove possibility for func() entries in tag-order style, can be done using zstyle -e (12974) 2000-10-12 08:28:26 +00:00
Sven Wischnowsky
17e2003c5c rename fake style to fake-files (12973) 2000-10-12 07:08:43 +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
e1fb97ee44 follow-up to 12942, only a missing redirection (12948) 2000-10-10 15:06:30 +00:00
Sven Wischnowsky
7b35c8639c *** empty log message *** 2000-10-10 14:12:41 +00:00
Sven Wischnowsky
ae4ba457c4 temporarily remove global aliases to avoid error message inside the evals (12942) 2000-10-10 09:00:15 +00:00
Sven Wischnowsky
cb4bb129dd more option setting cleanup; remove some unnecessary setopts, remove N qualifiers (12917) 2000-10-06 13:01:51 +00:00
Bart Schaefer
2f2a33b2ea Other places where `unsetopt cshnullglob' is needed. 2000-10-06 05:18:25 +00:00
Sven Wischnowsky
eabddcb9cd unset cshnullglob (12899) 2000-10-05 13:50:54 +00:00
Sven Wischnowsky
0f2250de44 complete after autoloaded directories (a rather ugly hack); remove old code in _files (comma separated patterns); improve docs for fake style and for comma separated qualifier lists (12892) 2000-10-05 07:31:00 +00:00
Bart Schaefer
430e294795 Fiddle with _expand_word and its doc. 2000-09-21 05:16:21 +00:00
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