1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
Commit Graph

221 Commits

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