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

337 Commits

Author SHA1 Message Date
Sven Wischnowsky
7594cc1872 make _files remove backslashes in patterns (11453) 2000-05-18 07:18:57 +00:00
Peter Stephenson
3c77b96af5 11444: add old-list and old-menu to _zstyle 2000-05-17 15:54:38 +00:00
Sven Wischnowsky
f63d4066ba fix completion after tilde and equal sign inside quotes (11429) 2000-05-17 06:50:03 +00:00
Bart Schaefer
a04a3a9e65 Fix typos and remove RCS Id strings. 2000-05-16 16:21:33 +00:00
Tanaka Akira
26a467f406 11415: Completion/User/_cvs: follow the new matcher-list behaviour. 2000-05-16 16:04:04 +00:00
Sven Wischnowsky
d658d3e2bb fixed configuration of menu-selection with menu style; pseudo-context `-command-line-', handy for completion in vared (11408) 2000-05-16 11:44:57 +00:00
Sven Wischnowsky
95883d8b95 avoid tilde- and parameter-completion in quotes (11407) 2000-05-16 11:24:55 +00:00
Sven Wischnowsky
0129f41d80 make _arguments take the attempt to add matches as an indication not to do default option-completion (11406) 2000-05-16 11:15:24 +00:00
Sven Wischnowsky
aa17f0db6d fix scrolling in menu-selection with matches spanning multiple lines 2000-05-16 10:45:01 +00:00
Peter Stephenson
7a53d36f39 one hunk of 11381: typo in _vars_eq 2000-05-16 09:55:54 +00:00
Tanaka Akira
16ef2a7266 11396: Completion/User/_look: display a message when
an argument is empty.
2000-05-16 00:51:04 +00:00
Tanaka Akira
c5f1b07510 11394: Completion/User/_cvs: rewrite filename completion
functions.
2000-05-16 00:07:06 +00:00
Tanaka Akira
d1f844209e 11393: Completion/User/_diff_options: use `=-'. 2000-05-15 23:45:30 +00:00
Tanaka Akira
072be45ee5 11392: Completion/Core/_description: ignore-line fix. 2000-05-15 23:33:29 +00:00
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
Oliver Kiddle
6ff206e057 Add -L option to the hash builtin 2000-05-15 00:31:20 +00:00
Peter Stephenson
26cc1ad1df doc changes; typo in _jobs; integer builtin understands `-i base' 2000-05-14 22:08:41 +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
56caa787a6 Use _arguments for hash completion and add + options for typeset (11347) 2000-05-12 13:16:52 +00:00
Bart Schaefer
1452bfe101 11332: Test descriptors correctly for redirect/restore of stderr; plus an
aesthetic tweak.
2000-05-12 02:31:05 +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
567e221218 make _argument_sets add the options as defaults when there is nothing else to complete (11324) 2000-05-11 11:27:39 +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
8e7e17237e allow internally-mutually exclusive sets in _argument_sets; fixes for _argument_sets and the C-code for it (11320) 2000-05-11 08:54:47 +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
Oliver Kiddle
16c04c29da Fix breakage from 11195 (11300) 2000-05-10 14:27:04 +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
Tanaka Akira
78e327861c revert 11280 2000-05-10 07:15:33 +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
Oliver Kiddle
d624558051 Use _math for completing the let builtin 2000-05-09 17:16:08 +00:00
Oliver Kiddle
f9938ba951 complete using _arguments for typeset and its variants (11282) 2000-05-09 16:53:34 +00:00
Tanaka Akira
dff7eff11b 11280: Completion/User/_make: suppress an error with closed stdin
on OpenBSD.

11278: Completion/User/_ssh: disable forwarding to use ssh.
2000-05-09 12:13:38 +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
Sven Wischnowsky
8a5fb55595 option name clash in _arguments (11273) 2000-05-09 09:52:27 +00:00
Sven Wischnowsky
6626f6dc86 fix for _arguments without options and no more arguments to complete (11272) 2000-05-09 09:44:26 +00:00
Sven Wischnowsky
cfcb3202ef more problems with optional arguments in _arguments (11253) 2000-05-08 10:37:58 +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
Bart Schaefer
c15091b7d1 11236: Handle tabs between options and their descriptions when parsing --help. 2000-05-06 18:48:26 +00:00
Tanaka Akira
bec1ee9e6a add _look. 2000-05-06 16:14:56 +00:00
Tanaka Akira
c1dc0ffe4f 11223: Completion/Base/_regex_arguments, Completion/Debian/_apt,
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo:
_regex_arguments use _alternative.
2000-05-06 07:59:52 +00:00
Tanaka Akira
b3e51a037e 11219: Completion/User/_cvs, Completion/User/_diff_options: add
option description to `_cvs' and fix typo in _diff_options.
2000-05-05 20:36:13 +00:00
Tanaka Akira
ea333ddca6 11213: Completion/User/_cvs: don't complete files which is
already on command line for `cvs add', `cvs remove' and `cvs commit'.
2000-05-05 16:17:38 +00:00
Tanaka Akira
c3f2434dfa 11204: Completion/User/_look: use more precise explanation and
complete an optional second argument.
2000-05-05 14:47:54 +00:00
Sven Wischnowsky
9f9b6e1655 completion function cleanup for _arguments' with the -C' option and using it's return value (11195) 2000-05-05 13:38:45 +00:00
Tanaka Akira
057e9700ec 11190: Completion/User/_look: new completion for look. 2000-05-05 11:33:28 +00:00
Sven Wischnowsky
e42717d18f make _message independent of when it is called (11188) 2000-05-05 11:21:50 +00:00
Oliver Kiddle
93fb9aaec5 Use one function for compression/decompression programs and new lzop completion 2000-05-05 10:08:25 +00:00
Tanaka Akira
6a93b85903 11166: Completion/Base/_regex_arguments: remove debugging code. 2000-05-04 20:46:57 +00:00
Tanaka Akira
3e7a2a41bc 11165: Completion/Base/_regex_arguments, Completion/Debian/_apt,
Completion/X/_xset, Completion/X/_xwit, Doc/Zsh/compsys.yo,
Src/Modules/zutil.c: _regex_arguments support tag stuff.
2000-05-04 20:16:09 +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
aa0381bd2b allow `-' in exclusion lists for _arguments, to avoid completing all options (11121) 2000-05-03 14:44:01 +00:00
Sven Wischnowsky
cdbbb405de Andrej: handle -t option in _zcompile (11067) 2000-05-03 12:26:20 +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
Tanaka Akira
d981fc1316 add _xauth. 2000-05-03 11:49:13 +00:00
Tanaka Akira
5e3e05a607 11109: Completion/X/_xauth: new completion for xauth. 2000-05-03 11:38:32 +00:00
Tanaka Akira
0a36137dda 11106: Completion/User/_mount: fix glob for device files. 2000-05-03 11:25:12 +00:00
Sven Wischnowsky
b5594215dd make sure that completion messages are displayed even when there are no matches (11092) 2000-05-03 08:35:33 +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
Oliver Kiddle
f3be526791 Small fix to avoid using slashes in temporary file name (11065) 2000-05-02 11:56:27 +00:00
Sven Wischnowsky
997d40c05d add -x option to compadd to display message unconditionally 2000-05-02 10:30:41 +00:00
Sven Wischnowsky
2c7f678ff0 always use empty matcher-list style in _complete_help (11053) 2000-05-02 09:10:52 +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
Oliver Kiddle
bfa1e27434 Use of _arguments in _bzip2 (11041) 2000-05-01 15:26:01 +00:00
Peter Stephenson
f9b13e01d8 11033: 3.1.7-pre-2 2000-04-30 21:04:54 +00:00
Clint Adams
04c1d78c5a completion for joe 2000-04-30 16:06:09 +00:00
Bart Schaefer
5c327339f5 11024: The _complete_debug widget enables and captures xtrace from completion. 2000-04-30 10:04:29 +00:00
Adam Spiers
0d437ea729 11017: Completion/Linux/_rpm: fixes for --rmsource and --recompile
options, and for breakage caused by 10772
2000-04-29 15:53:22 +00:00
Peter Stephenson
b7e5949279 11013: more compinstall fixes 2000-04-28 17:44:45 +00:00
Sven Wischnowsky
a3cf03751a Tanaka: printer-detection moved to new _printers; used by _enscript (11001) 2000-04-28 11:20:55 +00:00
Peter Stephenson
bcb9190ff9 10999: compinstall fixes 2000-04-28 09:31:54 +00:00
Bart Schaefer
05d09daba6 10980: Tanaka's enscript completion. 2000-04-28 00:59:40 +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
df82526ec8 use $words[1] to call make in _make and throw away stderr and use _call (10977) 2000-04-27 12:44:21 +00:00
Sven Wischnowsky
5d89ce8e65 ensure $PWD is prepended to cache-names for long options in _arguments (10974) 2000-04-27 12:07:35 +00:00
Sven Wischnowsky
a2365a9c6a fix for automatic option-argument completion with partially typed option in _arguments (10967) 2000-04-27 09:36:51 +00:00
Sven Wischnowsky
5d4139d421 document _wanted -C; fix for call to _wanted in _urls (10965) 2000-04-27 09:24:37 +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
Adam Spiers
d00d0f0efa added warning to _perl_modules for when perl not found on path (10949) 2000-04-27 00:05:53 +00:00
Sven Wischnowsky
07dd916621 ensure options are set as expected in _history_complete_word and _bash_completions (10933) 2000-04-26 13:13:52 +00:00
Sven Wischnowsky
3743621b21 new file 2000-04-26 08:39:24 +00:00
Sven Wischnowsky
43cd27bb7d *** empty log message *** 2000-04-26 08:38:51 +00:00
Sven Wischnowsky
96a30526c2 better perl module completion from Adam (10892) 2000-04-26 08:36:43 +00:00
Sven Wischnowsky
0c4eb61e90 new completion for GNU zip from Tanaka (10890) 2000-04-26 08:34:13 +00:00
Sven Wischnowsky
f336784846 new completion function for xset from Tanaka (10885) 2000-04-26 08:31:20 +00:00
Sven Wischnowsky
ddb16a1b2b allow to anchor on gaps between strings in matching control specs (10926) 2000-04-26 06:54:26 +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