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

87 Commits

Author SHA1 Message Date
Sven Wischnowsky
1dc5677a41 add _in_vared for completion inside vared; make insert-tab default to `false' there 2000-05-15 13:19:26 +00:00
Peter Stephenson
5ef2b518fd 11375: compinstall: menu style select=long and select=long-list 2000-05-15 12:51:59 +00:00
Sven Wischnowsky
3f630b6abf followup for 11364 (11367) 2000-05-15 10:45:24 +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
Oliver Kiddle
a39eb7948e Back out 11327 and make the correct fix in _groups (redirect ypcat to stderr) 2000-05-11 16:14:58 +00:00
Oliver Kiddle
cd65b9b4bb _call should pass on the return code from the called command (11327) 2000-05-11 15:32:35 +00:00
Sven Wischnowsky
51511cd7c8 _files used alternative tag-order values even if not needed (11321) 2000-05-11 09:12:57 +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
Peter Stephenson
9a670c67eb 11287: Naoki Wakamatsu: compinstall spaces to be tab 2000-05-10 08:46:45 +00:00
Sven Wischnowsky
aa4a931544 update `%p' replacement in _files (11292) 2000-05-10 08:00:05 +00:00
Bart Schaefer
4c1d37d7d0 11288: Reopen stdin on /dev/null to avoid confusing programs that don't
expect it to be closed.
2000-05-10 04:55:10 +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
Peter Stephenson
38bb84d975 11194, 11200, 11214 2000-05-08 08:58:37 +00:00
Sven Wischnowsky
bedd4cf2c5 make _expand call _complete when called from _expand_word; add ignore-line style to ignore words already on the line (11244) 2000-05-08 08:44:52 +00:00
Sven Wischnowsky
92637abbb8 misc. completion cleanups and changes (11242) 2000-05-08 08:16:32 +00:00
Sven Wischnowsky
e42717d18f make _message independent of when it is called (11188) 2000-05-05 11:21:50 +00:00
Tanaka Akira
672f5c459e 11157: Completion/Core/_requested: fail if _all_labels is failed. 2000-05-04 16:19:06 +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
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
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
753cc6b22a completion cleanup, mostly _wanted and $expl (11049) 2000-05-02 08:23:31 +00:00
Sven Wischnowsky
3d088f16aa make completion-in-vared complete parameter values as default; cleanup for _path_files (11048) 2000-05-02 08:18:54 +00:00
Sven Wischnowsky
e102702cd5 completion doc fixes and cleanup; _sort_tags updated (11047) 2000-05-02 08:14:28 +00:00
Bart Schaefer
7e5ee56443 don't fail on nonexistent ~/.nedit file. 2000-05-01 18:14:08 +00:00
Peter Stephenson
b7e5949279 11013: more compinstall fixes 2000-04-28 17:44:45 +00:00
Peter Stephenson
bcb9190ff9 10999: compinstall fixes 2000-04-28 09:31:54 +00:00
Peter Stephenson
5e328e37ec 10985: compinstall enhancements 2000-04-27 20:44:47 +00:00
Sven Wischnowsky
37d14cab88 new _history completer (10979) 2000-04-27 14:16:15 +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
Sven Wischnowsky
18c11b0758 better default value for list-prompt style (10923) 2000-04-26 06:26:49 +00:00
Sven Wischnowsky
bfa4f17652 file-sort made $fignore fail (10922) 2000-04-26 06:12:25 +00:00
Sven Wischnowsky
d3c918b863 re-calculate number of line with mark when needed; make default prompts more consistent (10916) 2000-04-25 12:19:45 +00:00
Sven Wischnowsky
2f90974c38 small fix for _requested to be able to use _all_labels from within it (10910) 2000-04-25 11:00:06 +00:00
Sven Wischnowsky
6623bb41b9 report prefix/suffix of parameter expansion in IPREFIX/ISUFFIX; make _expand use them to be able to expand $foo (10909) 2000-04-25 10:28:11 +00:00
Sven Wischnowsky
d49da60670 make _arguments use more than one action when appropriate; add _argument_sets to complete different sets of arguments and options for the same command (10908) 2000-04-25 09:48:08 +00:00
Sven Wischnowsky
c9bedcd989 default values for styles in _expand_word, listing expansions with ^Xd, _expand uses add-space style (10854) 2000-04-20 08:04:56 +00:00
Oliver Kiddle
a903dcba4f Add completion for file descriptors 2000-04-20 00:48:27 +00:00
Sven Wischnowsky
6a7c002a7c default for list-prompt style, %[MLP] use fixed-width strings, %[mlp] use variable-width strings (10816) 2000-04-19 06:49:36 +00:00
Sven Wischnowsky
44ee911749 fix completion after ~<num> (10812) 2000-04-18 15:09:40 +00:00
Peter Stephenson
9941ddd984 handle list-prompt in compinstall 2000-04-18 13:41:13 +00:00
Sven Wischnowsky
fe65ab1dd8 completion list scrolling cleanup; *STATUS renamed to *PROMPT, styles for new used parameters, use local keymap when waiting at list-prompt (10801) 2000-04-18 07:36:55 +00:00
Sven Wischnowsky
cd45aa331d make _tags use C-code for braces in tag-order values; and misc. stuff (10775) 2000-04-17 08:04:42 +00:00
Sven Wischnowsky
4a3b94ca40 allow brace expansion on patterns for file-patterns and tag-order (10695) 2000-04-12 12:35:38 +00:00
Sven Wischnowsky
5de84477ac keep _oldlist from using the dummy match inserted for warnings (10691) 2000-04-12 09:28:56 +00:00
Peter Stephenson
5a69fda2a1 10669: compinstall more flexible with input and output files 2000-04-11 20:25:30 +00:00
Sven Wischnowsky
71157907ad make trailing blanks in file-patterns tags be removed (10650) 2000-04-11 11:21:12 +00:00
Sven Wischnowsky
0c918c63ca make _oldlist ignore old list when _complete_help is used (10648) 2000-04-11 10:42:15 +00:00
Sven Wischnowsky
3d0f90ba2b make _oldlist ignore list from _complete_help; _match runs for every match spec from matcher-list; _approximate doesn't redefine compadd if that is already a function (10641) 2000-04-11 09:40:13 +00:00