Commit graph

515 commits

Author SHA1 Message Date
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
Bart Schaefer 76868bdc6a Add comment. 2000-05-29 20:00:38 +00:00
Sven Wischnowsky acd0558e54 make _path_files use glob qualifiers from the line when doing pattern matching (11635) 2000-05-29 13:11:59 +00:00
Sven Wischnowsky d22ee9a5ba keep information about things to complete in _arguments (11631) 2000-05-29 09:15:12 +00:00
Sven Wischnowsky a2750a4eff fixes for _arguments with sets; make _zpty not use sets (11624) 2000-05-29 08:00:46 +00:00
Bart Schaefer 7a3ca7a673 11618: Fix bad shift. 2000-05-28 21:10:13 +00:00
Oliver Kiddle 24695d682f use of _arguments for completion of a couple more builtins (11615) 2000-05-28 19:40:22 +00:00
Clint Adams 5b463bddc6 11599: check for d&x bits on @INC directories in _perl_modules 2000-05-26 14:08:26 +00:00
Oliver Kiddle b36b493313 Split _arguments calls into sets to avoid long mutex lists (11579) 2000-05-25 15:09:04 +00:00
Sven Wischnowsky 7fb99aadec beautify format of compdump file (11576) 2000-05-25 14:48:38 +00:00
Sven Wischnowsky 105456d250 fix for special-dirs when used with -g patterns (11570) 2000-05-25 12:01:37 +00:00
Sven Wischnowsky 6959ffd962 force listing in _complete_debug; make complist with list-scrolling stopt at the end of the list when prompt would scroll it out; fix _in_vared to handle `foo[bar]' (11565) 2000-05-25 07:58:44 +00:00
Sven Wischnowsky 8f7beea079 fix for comparguments to make -s have an effect again (11552) 2000-05-24 08:32:12 +00:00
Clint Adams fae0b54f1c 11548: -h flag for ispell 2000-05-24 05:58:20 +00:00
Oliver Kiddle b9195aa57d minor completion fixes (11541) 2000-05-23 18:06:32 +00:00
Oliver Kiddle 63b7b10355 Minor completion fixes (11541) 2000-05-23 18:03:12 +00:00
Oliver Kiddle 0735f0d889 Suffix handling improvements for url completion (11539) 2000-05-23 16:11:57 +00:00
Peter Stephenson bfe6602d9e 11537: new _complete_tag function 2000-05-23 15:27:13 +00:00
Sven Wischnowsky ee681a32ad use set -A' instead of eval' in more places (11525) 2000-05-23 08:54:30 +00:00
Oliver Kiddle de2c2a89c6 Don't lose empty arguments (11517) 2000-05-22 18:15:53 +00:00
Peter Stephenson bdfda774b7 11516: Completion/Core/compinstall: menu selection 2000-05-22 17:52:40 +00:00
Bart Schaefer 7d19431901 11515: Fix infinite loop. 2000-05-22 17:17:52 +00:00
Chmouel Boudjnah bf40a2f40c Completion/Linux/_rpm: --buildarch is like --target 2000-05-22 14:11:34 +00:00
Sven Wischnowsky 30d8c23981 another fix for `select=long*' in menu style (11500) 2000-05-22 13:55:57 +00:00
Sven Wischnowsky 57658af8a5 fix for select-long-list in menu style (11497) 2000-05-22 12:22:48 +00:00
Sven Wischnowsky fa50c70000 fix for clines in suffix (11496) 2000-05-22 12:14:37 +00:00
Sven Wischnowsky 91f40b975f be more careful when decided if to insert tabs instead of completing (11493) 2000-05-22 11:28:29 +00:00
Sven Wischnowsky ce90081ea8 pat(-) in long-option patterns to say that argument should be completed only after the `='; merge _arguments and _argument_sets; slightly better test when not to complete options (11489) 2000-05-22 09:28:34 +00:00
Sven Wischnowsky 007cfdff55 fix for a-a-m-c in menu selection; scroll explanations onto screen again (11487) 2000-05-22 08:47:30 +00:00
Oliver Kiddle f97eaa4579 Do a better job of completing suffixes in netscape remote commands (11471) 2000-05-19 18:44:21 +00:00
Peter Stephenson 8d17d2f02d 11467: [#<base>] syntax for output base
zsh-users/3071: compdump tweak to avoid // in path
2000-05-19 18:22:50 +00:00
Oliver Kiddle e20600c8a4 Fix _su to use user's shell for completion after -c again 2000-05-19 16:19:39 +00:00
Bart Schaefer aea69f6e64 11469: Locally unset the errexit option and ZERR trap. 2000-05-19 16:04:16 +00:00
Sven Wischnowsky f9e65c2b1f don't use $match for something different than (#b)ackrefs (11464) 2000-05-19 08:24:16 +00:00
Sven Wischnowsky 191930e8fb fix for completion of `netscape -remote' (11460) 2000-05-18 11:04:34 +00:00
Sven Wischnowsky ca670d4d27 allow _main_complete to call an arbitrary command given as arguments (11459) 2000-05-18 10:48:31 +00:00
Peter Stephenson c515a58aca 11455: Completion/Core/_oldlist: old-menu defaults on 2000-05-18 08:59:29 +00:00
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