1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-21 12:11:26 +01:00
Commit graph

284 commits

Author SHA1 Message Date
Oliver Kiddle
da47e35a83 18486: back-out 18458 because it causes problems when completing only options 2003-04-30 13:47:05 +00:00
Oliver Kiddle
a5f7097d9a 18472: spelling corrections 2003-04-25 11:18:50 +00:00
Oliver Kiddle
0fed25f461 18458: handle the prefix-needed style in _describe -o and new completion for renice 2003-04-22 12:32:43 +00:00
Oliver Kiddle
5df8ef1e43 18347: fix problems with having more than one ((val\:desc ...)) style action 2003-03-13 09:59:48 +00:00
Oliver Kiddle
43d44d1552 18338: list a single unambiguous match instead of inserting it 2003-03-11 17:33:05 +00:00
Oliver Kiddle
48df213153 18299: allow _next_tags to work with nested tag loops 2003-02-26 16:35:55 +00:00
Oliver Kiddle
ab1a0844f2 18296: sync fake _all_labels and _next_label functions with changes to real ones 2003-02-25 18:43:39 +00:00
Oliver Kiddle
cd220acea0 18262: fix bug where only first match was added with expand style set to suffix 2003-02-19 18:05:51 +00:00
Felix Rosencrantz
114d799efd Changes to _store_cache to allow cache names to contain slashes "/". 2002-10-09 20:38:24 +00:00
Sven Wischnowsky
9ea7493889 don't display _dispatch as one of the called functions (17438) 2002-07-08 08:59:38 +00:00
Sven Wischnowsky
d28f67623f two new modes for menu selection: incremental search and interactive (17366) 2002-06-26 11:07:42 +00:00
Sven Wischnowsky
86f38401aa for automatic long options completion, use the string after the equal signs (from the --help-text) as the description to shown when completing after the option (17214) 2002-05-23 12:20:15 +00:00
Sven Wischnowsky
70120f22ee rename max-match-length style to max-matches-width (17213) 2002-05-23 12:16:42 +00:00
Sven Wischnowsky
ba168b43da fix removal of automatically added specs (from the -- option) for which a user-defined one is present (17191) 2002-05-21 07:44:57 +00:00
Sven Wischnowsky
757e68c5e7 fix for _arguments: don't use argument-tag when completing options; fix for _services: leave loop when matches were produced (17148) 2002-05-14 08:08:44 +00:00
Sven Wischnowsky
b0e4b61a82 allow users to give the maximum number of display-columns the matches should take up via the style currently named max-match-length (17147) 2002-05-14 08:01:12 +00:00
Sven Wischnowsky
5c93cbc7e9 fix _arguments' -s option (17078) 2002-05-06 07:59:50 +00:00
Sven Wischnowsky
a8e0c3b988 make _values not use -Q (16991) 2002-04-16 07:55:49 +00:00
Sven Wischnowsky
61f8a07bfc make more calls to _message use the -e option (16988) 2002-04-16 07:48:43 +00:00
Oliver Kiddle
c4b8482b94 add original string as match (like in _approximate) 2002-04-04 12:05:17 +00:00
Oliver Kiddle
41eb475f9b 16923: add insert style for inserting matches instead of adding them as a match 2002-04-04 10:45:59 +00:00
Bart Schaefer
d20d427572 16849: shift off `-s' argument. 2002-03-17 18:03:06 +00:00
Oliver Kiddle
79323d6d41 16842: resolve name clash for nc between netcat and the nedit client for
completion and add _pick_variant to resolve program variants in general
2002-03-15 16:26:08 +00:00
Sven Wischnowsky
45f9a36216 remove that -T option to compdef again and instead use comma-separated sub-contexts both for function and style lookup (16819) 2002-03-13 09:28:04 +00:00
Peter Stephenson
533cc753f7 unposted: usual fixups for .distfiles 2002-03-05 18:34:18 +00:00
Sven Wischnowsky
f56ba813bb allow different sets of completion definitions selected with option -T to compdef; use this for parameter values and redirections (16755) 2002-03-04 08:53:41 +00:00
Sven Wischnowsky
9b8176a659 make _message inhibit insertion of matches unless there are faked ones (16710) 2002-02-25 09:16:25 +00:00
Sven Wischnowsky
8dcd8e54c5 make _guard use _mesage -e'; make _message -e' use $curtag as a default; change uses of _guard (16708) 2002-02-25 09:09:31 +00:00
Sven Wischnowsky
901d8b4c97 fix test for prefix-needed (16667) 2002-02-18 14:27:36 +00:00
Sven Wischnowsky
77339cc21d add -x option (to be passed on to compadd) to _description and friends; make _message respect any -[12VJ] options it gets, adding the message to that group (16609) 2002-02-12 13:37:00 +00:00
Sven Wischnowsky
3807c902a2 add new generic fake style and changes to the C-code for that (different implementation of compadd -x) (16483) 2002-01-22 10:22:47 +00:00
Sven Wischnowsky
f463b09b13 allow arguments to be given to functions used by compdef (actually, the strings are eval'uated, so this should be powerful enough) (16472) 2002-01-21 16:13:15 +00:00
Oliver Kiddle
f879a295e1 use pager style instead of $EDITOR and fix bad substitution in exclusion lists 2002-01-17 18:49:32 +00:00
Oliver Kiddle
d7822305b4 16461: a number of minor completion function updates 2002-01-16 16:29:51 +00:00
Sven Wischnowsky
90bbd87734 fixes for completion of signal names with SIG prefix and for completing command names instead of pids (16406) 2002-01-07 14:38:13 +00:00
Oliver Kiddle
95abfc0e2a 16398: updated zstyle completion and related cleanup 2002-01-04 12:09:29 +00:00
Oliver Kiddle
ae0bba2bfc 16397: use nul instead of colon to avoid problems with _value: functions 2002-01-03 18:26:56 +00:00
Sven Wischnowsky
2a0862bc40 fix: make _describe handle (...) arguments correctly; use _file_descriptors after -t in conditions; don't display empty descriptions in _file_descriptors (16085) 2001-10-19 10:28:07 +00:00
Sven Wischnowsky
647674f6ab undo most of 15650, do that in shell code (15669) 2001-08-20 13:13:49 +00:00
Sven Wischnowsky
5a1065dc66 make insert-tab really default to `true' (15653) 2001-08-17 10:37:00 +00:00
Sven Wischnowsky
1a1d270e13 15638 2001-08-16 08:07:41 +00:00
Sven Wischnowsky
b0ac280e1a make _dd not use already used specs; fix for selecting stuff to complete in _describe; fix for correction and _describe with grouped lists (15588) 2001-08-07 10:38:36 +00:00
Sven Wischnowsky
75d5e9bb8b (15526) 2001-07-30 08:42:55 +00:00
Sven Wischnowsky
4da5c1b2e0 (15509) 2001-07-27 12:56:57 +00:00
Bart Schaefer
af2e41f845 Fix typo. 2001-07-25 17:40:30 +00:00
Sven Wischnowsky
f29d50fe9c move pattern matching in the loop to make sure all match specs are used (15487) 2001-07-25 14:49:32 +00:00
Sven Wischnowsky
c83d16f8ee another fix for 15477 (separator strings); add list-separator style (15484) 2001-07-25 12:18:23 +00:00
Sven Wischnowsky
eba59194d7 make display for groups in _describe nicer; improve packing with list_packed; leave space for type character (list_types) only in groups with at least one file name (15477) 2001-07-25 08:52:34 +00:00
Sven Wischnowsky
facff10b11 yet another followup to 15497; make _describe filter out non-matching strings before calling compdescribe, otherwise some matches will be hiddens (15415) 2001-07-19 08:40:36 +00:00
Sven Wischnowsky
8c1b953b5a add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user (15407) 2001-07-18 13:10:07 +00:00
Sven Wischnowsky
bd629defe8 (15357) 2001-07-10 09:25:43 +00:00
Bart Schaefer
ef89be124d Fix handling of interrupt in two completion widgets. 2001-06-21 10:05:19 +00:00
Bart Schaefer
e8cb280d50 Fix "insert-tab pending" zstyle. 2001-06-20 17:42:15 +00:00
Sven Wischnowsky
71a9847d48 fix for comparguments (completing after single letter options that get their argument in the next word); make _values ignore some of the standard option it may get; make _mount use _dir_list in some places and improve that; `document' comparguments and compvalues with some comments in computil.c (14897) 2001-06-13 11:05:51 +00:00
Sven Wischnowsky
9cc9cc9466 (14841) 2001-06-11 11:46:23 +00:00
Sven Wischnowsky
a7340e627b two fixes: try all actions that have to be tried (but only once), execute actions if we aren't after an option already (in the same word) (14733) 2001-06-06 09:31:54 +00:00
Oliver Kiddle
a594e4eb04 work around ${(@P)1[3,-1]} not working as expected (14658) 2001-06-01 14:29:11 +00:00
Sven Wischnowsky
171855e2e2 fix tag-order problem with _arguments (completion after an option that gets an argument in the same word); and a fix for completion after -ab, where -a gets an argument in the next word and -b gets one in the same word (14607) 2001-05-31 12:38:34 +00:00
Sven Wischnowsky
ae5e34db25 (14602) 2001-05-31 08:18:36 +00:00
Sven Wischnowsky
1a55d53621 always use supplied matchers (14599) 2001-05-31 07:17:03 +00:00
Sven Wischnowsky
b6cf214d81 some cleanup (14558) 2001-05-30 07:31:13 +00:00
Oliver Kiddle
56528ccb66 spelling corrections 2001-05-29 17:54:08 +00:00
Sven Wischnowsky
4a7abbfdd6 use `eval $_comp_setup' in all entry points of the completion system to not only set up the options, but also redirect stdin and ignore trap handlers for ZERR (14530) 2001-05-29 11:59:50 +00:00
Clint Adams
da9fa61207 14509: ZLS_COLOURS/ZLS_COLORS consistency 2001-05-28 16:01:01 +00:00
Oliver Kiddle
0a159d0f73 fix to include + options in tag order (14416) 2001-05-21 16:15:59 +00:00
Sven Wischnowsky
dc9d78c659 (14350) 2001-05-15 13:52:22 +00:00
Peter Stephenson
ea03bf1ae5 14330: handle quotes better in _most_recent_file 2001-05-14 13:44:13 +00:00
Oliver Kiddle
e364fb2139 insert redirection operators when expanding after one (14281) 2001-05-09 12:06:10 +00:00
Sven Wischnowsky
83032fe876 add -S option to specify separator between values and their arguments; make _values add the value-separator as a suffix for most types of actions (14257) 2001-05-08 12:24:21 +00:00
Sven Wischnowsky
ff82191c26 empty description means: don't add a -X option (14252) 2001-05-08 08:46:59 +00:00
Sven Wischnowsky
47d8fd9b6c missing star in suffix-style test pattern (14197) 2001-05-02 08:58:55 +00:00
Sven Wischnowsky
6757c3c734 fixelt for the test for the suffix style; if word contains only a tilde, don't try to expand it (14160) 2001-04-30 11:09:49 +00:00
Sven Wischnowsky
6f2112f23a try to improve testing for suffix style in _expand; make _path_files fail to complete words like ...<pat>..<param-subst>... (14133) 2001-04-27 09:12:33 +00:00
Bart Schaefer
a509b259f8 Use trap for unfunction compadd in _approximate. 2001-04-27 03:20:59 +00:00
Sven Wischnowsky
b4b6d57e2c 14117 2001-04-26 14:40:11 +00:00
Oliver Kiddle
efe55f77a3 new vnc completion and use _guard for pine completion (14112) 2001-04-26 14:00:45 +00:00
Sven Wischnowsky
aa99b19c08 rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105) 2001-04-26 12:13:36 +00:00
Sven Wischnowsky
105009726b make keep-prefix keep everything up to the first component with a parameter expansion, not only if that is at the beginning of the string (14092) 2001-04-26 07:02:47 +00:00
Oliver Kiddle
d7417bdc0e add completion for common MUAs and a couple of minor fixes (13982) 2001-04-13 18:42:13 +00:00
Clint Adams
62e9af7ce6 13909: bad tilde files in some .distfiles 2001-04-05 13:44:58 +00:00
Sven Wischnowsky
bbbf07a3e7 complete only those single letter options with the right prefix character (13908) 2001-04-05 12:12:45 +00:00
Sven Wischnowsky
163b0101ed add -W option to _arguments, which allows to complete options after options that take an argument in the next word (13902) 2001-04-04 11:29:19 +00:00
Sven Wischnowsky
cbba9da870 new or changed after move 2001-04-02 12:39:40 +00:00
Sven Wischnowsky
354cc487ff changed after moving functions 2001-04-02 12:35:52 +00:00
Sven Wischnowsky
2b0618ccc9 moved to Completion/Zsh/Command/_precommand 2001-04-02 11:25:19 +00:00
Sven Wischnowsky
92c9f4faf2 moved to Completion/Zsh/Context/_value 2001-04-02 11:24:58 +00:00
Sven Wischnowsky
2cb2aa16d0 moved to Completion/Zsh/Context/_tilde 2001-04-02 11:24:41 +00:00
Sven Wischnowsky
0eca06e0c5 moved to Completion/Zsh/Context/_subscript 2001-04-02 11:24:25 +00:00
Sven Wischnowsky
2ecbada32d moved to Completion/Zsh/Context/_redirect 2001-04-02 11:24:10 +00:00
Sven Wischnowsky
763d5287c5 moved to Completion/Zsh/Context/_parameter 2001-04-02 11:23:55 +00:00
Sven Wischnowsky
6b88d1aaf2 moved to Completion/Zsh/Context/_math 2001-04-02 11:23:38 +00:00
Sven Wischnowsky
1bb11adee9 moved to Completion/Zsh/Context/_in_vared 2001-04-02 11:23:21 +00:00
Sven Wischnowsky
0fa297ae8d moved to Completion/Zsh/Context/_first 2001-04-02 11:23:04 +00:00
Sven Wischnowsky
3522f637da moved to Completion/Zsh/Context/_equal 2001-04-02 11:22:47 +00:00
Sven Wischnowsky
e7e55a73c1 moved to Completion/Zsh/Context/_default 2001-04-02 11:22:30 +00:00
Sven Wischnowsky
1a13dc1fb1 moved to Completion/Zsh/Context/_condition 2001-04-02 11:22:13 +00:00
Sven Wischnowsky
f36fa38951 moved to Completion/Zsh/Context/_brace_parameter 2001-04-02 11:21:56 +00:00
Sven Wischnowsky
062fe4c5e8 moved to Completion/Zsh/Type/_jobs 2001-04-02 11:17:40 +00:00
Sven Wischnowsky
f7678f5289 moved to Completion/Zsh/Type/_command_names 2001-04-02 11:17:23 +00:00
Sven Wischnowsky
9d06486d2a moved from Completion/Commands/_read_comp 2001-04-02 11:17:07 +00:00