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

573 Commits

Author SHA1 Message Date
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
b9f6bdf162 add fake-parameters style to allow completing parameters which are not yet set (12946) 2000-10-10 14:12:21 +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
bb18608a2a search for *.tif file, too (12919) 2000-10-06 13:11:48 +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
Tanaka Akira
5d4faa678e * 12886: Completion/User/_cvs: make _cvs_vendor_branches to handle
remote-access style.
2000-10-04 14:13:12 +00:00
Tanaka Akira
bca563a699 * 12872: Completion/User/_cvs: Fix modules completion when a cvsroot
specified in a command line begins with tilde.  Generate subcommand
list from `cvs --help-commands' and `cvs --help-synonyms'.  Complete
remote modules. Complete vendor branch for a second argument of
`cvs import'.  Use _call.
2000-10-04 05:10:18 +00:00
Bart Schaefer
430e294795 Fiddle with _expand_word and its doc. 2000-09-21 05:16:21 +00:00
Bart Schaefer
8aaf13e804 Use ${(q)tmp} after all. 2000-09-14 15:55:21 +00:00
Bart Schaefer
9e9457f30e Redo _zle using _arguments; fix typos. 2000-09-11 07:08:27 +00:00
Sven Wischnowsky
7ab68d2d29 more sensible value (12769) 2000-09-07 09:14:22 +00:00
Sven Wischnowsky
0fe98894a8 stick some `N's into glob patterns (12768) 2000-09-07 08:39:20 +00:00
Peter Stephenson
6f94a972a9 12762: Akinori MUSHA: changes for new FreeBSD releases. 2000-09-06 15:15:30 +00:00
Peter Stephenson
372e84dc5b 3.1.9-dev-6 2000-09-04 10:52:02 +00:00
Clint Adams
6dd5fc9cef 12728: man -l / --local-file completes _files 2000-09-03 21:45:37 +00:00
Clint Adams
91914bdd49 12720: replace _files with _path_files for two instances in _dpkg 2000-08-31 06:12:58 +00:00
Oliver Kiddle
b8d2c8e6de new AIX specific completion function (12708) 2000-08-27 16:55:59 +00:00
Sven Wischnowsky
989faba588 complete compressed files for gv; improve results from _pspdf (12692) 2000-08-23 08:27:01 +00:00
Sven Wischnowsky
0992bff14c use return value (12682) 2000-08-21 08:01:45 +00:00
Oliver Kiddle
99c105df9e enhance _zmodload to use _arguments (12677) 2000-08-18 17:21:57 +00:00
Sven Wischnowsky
00eb6e8a25 remove unnecessary local 2000-08-16 07:16:12 +00:00
Peter Stephenson
7ffa89ea7d 12650: don't show aliased modules if there aren't any 2000-08-15 17:06:09 +00:00
Sven Wischnowsky
0352b80797 call ps only once and be more intelligent when finding the PIDs (12640) 2000-08-15 09:31:18 +00:00
Sven Wischnowsky
a070f9bb56 small improvement to allow lists where the pid is not in the first column (12635) 2000-08-15 08:32:25 +00:00
Bart Schaefer
0570841e95 Andrej, 12614: DLL is a shared library suffix. 2000-08-14 15:46:17 +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
Oliver Kiddle
5b04efd73c add -g option to _parameters to restrict type of parameters completed (12583) 2000-08-10 21:12:03 +00:00
Oliver Kiddle
4239b1243a new completion for read builtin (12578) 2000-08-09 21:20:37 +00:00
Sven Wischnowsky
3bca186819 handle the right option in strings with multiple single-letter options (and correctly handle its argument) (12567) 2000-08-08 12:11:42 +00:00
Sven Wischnowsky
5c90cf1a51 more fixes for completion of special characters (quoting) (12565) 2000-08-08 10:32:47 +00:00
Peter Stephenson
c66544a86b 12561: Completion/Builtins/_zmodload, Doc/Zsh/builtins.yo,
Src/builtin.c, Src/module.c, Src/zsh.h: aliases for modules
done internally via `zmodload -[AR]'
2000-08-08 09:13:36 +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
Adam Spiers
fd15ea0fb5 12486: new completion caching layer 2000-08-02 13:45:51 +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
eabfc368bd prefer user-defined specs over ones derived from --help output (12475) 2000-08-02 09:09:54 +00:00
Sven Wischnowsky
aa13d7075f *** empty log message *** 2000-08-01 12:32:27 +00:00
Sven Wischnowsky
3bcf15bf23 new completion function for slrn (12463) 2000-08-01 12:31:36 +00:00
Sven Wischnowsky
81fc1bf26c fix for automatically recognised options, don't expect an argument after each of them (12462) 2000-08-01 11:20:59 +00:00
Sven Wischnowsky
d109322359 remove tests for kshautoload (use zcompile -z); fix for setting scriptname for functions that redefine themselves 2000-08-01 08:27:18 +00:00
Sven Wischnowsky
18772af412 remove tests for kshautoload (use zcompile -z); fix for setting scriptname for functions that redefine themselves (12453) 2000-08-01 08:26:39 +00:00
Sven Wischnowsky
cd2984fb66 make $compcontext more powerful and easier to use for simple cases 2000-08-01 07:19:15 +00:00
Sven Wischnowsky
3896f72f4d make $compcontext more powerful and easier to use for simple cases (12449) 2000-08-01 07:18:43 +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
Adam Spiers
26c8bdf323 unposted: -e, -I, -m and -M parameters can be specified multiple times 2000-07-26 19:47:28 +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
e7f9104711 make _arguments --' use specs after the --' even for options not described in the help output to get arguments (12378) 2000-07-26 08:44:13 +00:00
Sven Wischnowsky
f90992ec31 allow _value:<assoc> functions to override completion for all keys of an assoc (3337) 2000-07-26 08:16:39 +00:00
Oliver Kiddle
b758c10726 use mhpath and mhparams commands instead of guessing directories (12356) 2000-07-24 20:32:56 +00:00
Sven Wischnowsky
0e8c318b8e optimisations for _multi_parts (12354) 2000-07-24 12:52:41 +00:00
Clint Adams
36052b318b 12347: 3 mutt options are repeatable 2000-07-22 04:39:46 +00:00
Bart Schaefer
aa78d39811 Discard stderr of a command subst. 2000-07-20 16:13:20 +00:00
Chmouel Boudjnah
07d524a92f Get also /usr/share/man. 2000-07-19 23:39:06 +00:00
Peter Stephenson
6ce73cf6f5 12308: Andrej and pws: _man formats, again 2000-07-19 09:03:29 +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
d05b3e675e check if options were completed (12225) 2000-07-12 09:01:40 +00:00
Bart Schaefer
ac223786a1 Complete all process IDs for root in _killall, as suggested in 12202 et al. 2000-07-10 17:08:00 +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
Tanaka Akira
709c31e9a8 * 12201: Completion/User/_java: fix completion for jar. complete
package qualified class names. fix typos.
2000-07-08 07:15:26 +00:00
Peter Stephenson
82c0ea4263 Completion/AIX/.distfiles update 2000-07-06 13:21:12 +00:00
Oliver Kiddle
1c28d8c21f updates and additions to completions for AIX commands 2000-07-06 12:40:00 +00:00
Oliver Kiddle
b0337944b4 mention more standard tags in documentation and fix some typos (12177) 2000-07-05 21:05:57 +00:00
Sven Wischnowsky
8ef812d6fb get return status right (12171) 2000-07-05 10:54:51 +00:00
Peter Stephenson
51ca432da6 *** empty log message *** 2000-07-05 09:23:15 +00:00
Oliver Kiddle
7f2ee10ba7 new completion function for arp (12165) 2000-07-04 21:58:09 +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
Adam Spiers
c5e47b8536 12152: tweak completion of final parameters to perl 2000-07-03 21:12:50 +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
fde669f76d misc 2000-06-28 09:08:03 +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
326e04c360 default completion even if there are options (3208) 2000-06-26 10:47:01 +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
Clint Adams
44b34667f8 12027: mutt smarts for _mailboxes 2000-06-22 04:11:35 +00:00
Clint Adams
e164618de2 12024: handle multiple mailboxes lines in muttrc 2000-06-22 02:37:45 +00:00
Chmouel Boudjnah
ec7fc02071 * 12019: Completion/User/_ssh: upgrade to the last openssh
options.
2000-06-21 16:37:51 +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
c071087d1f _arguments: small fix for -s and new `!...' for things not to complete (but to understand) (11985) 2000-06-19 13:09:06 +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
Peter Stephenson
207758992a .distfiles additions 2000-06-19 09:16:17 +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
Tanaka Akira
adfa6193a2 11959: Completion/User/_urls: make it magicequalsubst aware.
(not posted): Completion/User/.distfiles: add `_java'.
2000-06-17 18:35:51 +00:00
Tanaka Akira
903c771474 11958: Completion/User/_java: new completion for Java. 2000-06-17 18:10:09 +00:00
Clint Adams
19efbf7dd2 11951: _dpkg tweak for install and record-avail 2000-06-16 15:22:26 +00:00
Sven Wischnowsky
ae2b3953df enhance ignore-line to ignore all/current/other word(s) (11938) 2000-06-16 07:38:59 +00:00
Sven Wischnowsky
0b892d4492 zstyle -e option; change math-styles to boolean ones; change defaults for _expand styles (11937) 2000-06-16 07:31:09 +00:00
Sven Wischnowsky
818cba3dbf make _files try each pattern only once (and stop after `*') (11915) 2000-06-15 09:06:21 +00:00
Oliver Kiddle
545c064770 Handle new suffix style with arrays (11903) 2000-06-14 16:12:13 +00:00
Clint Adams
b4e489407a ?????: dpkg completion improvements 2000-06-13 17:45:48 +00:00
Sven Wischnowsky
bde4cfde51 new _generic widget to call completion with $WIDGET in function field of context (?) 2000-06-13 11:55:06 +00:00
Sven Wischnowsky
a707108a75 allow insert-tab to contain `pending[=num]' to handle the case when there is pending input (?) 2000-06-13 11:45:26 +00:00
Sven Wischnowsky
428abf6455 new style `suffix'; use accept-exact style in _expand (?) 2000-06-13 11:26:07 +00:00
Sven Wischnowsky
cedd1006e6 fixes for calling compfiles, for completing words with special characters; make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding) 2000-06-13 09:05:35 +00:00
Tanaka Akira
422c08622c 11861: Completion/User/_cvs: fix -a use for compadd. 2000-06-11 07:06:34 +00:00
Sven Wischnowsky
427b4b74f2 improve _path_files, move some code into C, try to optimise glob patterns and immediately accept exact directory matches (11833) 2000-06-09 07:49:44 +00:00
Oliver Kiddle
748ab4f791 avoid bug in IRIX's sed and use new -K option to zparseopts in _urls 2000-06-08 14:36:24 +00:00
Sven Wischnowsky
0526e9b5c7 trying to improve _expand; new keep-prefix style, add-space gives more control (11815) 2000-06-08 08:39:50 +00:00
Tanaka Akira
f3c138aee7 users/3130: Completion/Debian/_apt: fix actions for _alternative. 2000-06-08 03:03:55 +00:00
Sven Wischnowsky
25ca4f8792 optimise command lookup in old and new completion (user/3124) 2000-06-07 11:21:42 +00:00
Sven Wischnowsky
6bdaf4e174 setup options in bindable commands (11789) 2000-06-07 06:47:40 +00:00
Oliver Kiddle
aafc585164 Use slightly cleaner syntax (11772) 2000-06-06 19:43:29 +00:00
Sven Wischnowsky
423543d389 make _expand ignore empty expansions (11777) 2000-06-06 13:04:10 +00:00
Sven Wischnowsky
24559bb1f6 fix for _path_files and globcomplete, better test if word contains wildcards (11776) 2000-06-06 12:19:33 +00:00
Oliver Kiddle
0d0a134822 accept -g option in _urls and use _urls in _rpm (11756) 2000-06-05 23:20:48 +00:00
Bart Schaefer
d1813a007f 11743: Complete http URLs for rpm package files. 2000-06-05 02:23:52 +00:00
Chmouel Boudjnah
b8440550d7 * 11740: Completion/Linux/_rpm: --{rebuild,recompile} is always
local files.
2000-06-04 19:41:39 +00:00
Clint Adams
bac12ab6ff 11739: _dpkg improvements 2000-06-04 18:32:19 +00:00
Sven Wischnowsky
5a4253f42e allow display of only messages via $compstate[list]=messages (11688) 2000-05-31 09:56:12 +00:00
Sven Wischnowsky
fd25b24df6 use compadd -[ak] (11549) 2000-05-31 09:38:25 +00:00
Sven Wischnowsky
4629133ad3 Andrej: fix for ${..//..} with % in search string (11660) 2000-05-31 09:27:52 +00:00
Sven Wischnowsky
fe8490dcf0 allow using menu-select for compdef -k (i.e.: autoload zsh/complist in such cases) (11686) 2000-05-31 09:23:28 +00:00
Sven Wischnowsky
3beeb8a6fd avoid reporting the same ->state more than once (11678) 2000-05-31 06:11:07 +00:00
Peter Stephenson
d7163e6369 _argument_sets removed from .distfile 2000-05-30 09:30:08 +00:00
Sven Wischnowsky
47c0bd0db1 fixes for _arguments without multiple sets; change completion test for empty actions (11647) 2000-05-30 07:49:00 +00:00
Bart Schaefer
61a2d24f54 11644: Use `print -s' in _complete_debug. 2000-05-30 03:57:39 +00:00
Bart Schaefer
ab0ec79c6b 11643: Updates for _rpm. 2000-05-30 03:54:35 +00:00