1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-03 17:31:33 +02:00
Commit Graph

267 Commits

Author SHA1 Message Date
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