1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-15 12:41:18 +01:00
Commit graph

402 commits

Author SHA1 Message Date
Christopher Bock
ead0dd6b76 github #133: _which: complete whence -x 2025-05-14 15:05:10 -05:00
Mikael Magnusson
e19cfe7cac _typeset: fix typo 2025-04-14 02:11:45 +02:00
Kyle Andelin
73c70cece0 53449: do not complete indices for empty array subscripts 2025-04-04 20:57:51 +02:00
Oliver Kiddle
2e08ea1aef 53358: adapt completion to reflect 53348 and extend exclusion lists to cover more + options 2025-02-13 23:11:09 +01:00
Oliver Kiddle
13417c2701 53338: complete typeset -n option 2025-01-30 12:53:48 +01:00
dana
32cd93bcb0 unposted: _zparseopts: update per workers/53260 2025-01-02 17:13:04 -06:00
Clinton Bunch
58bda59130 53056: new zsh/random module defining an SRANDOM parameter and zrand_float() and zrand_int() math functions 2024-08-31 13:12:10 +02:00
Oliver Kiddle
6973d1d16f 53057: complete glob qualifiers following an equals expansion 2024-08-31 12:01:33 +02:00
Oliver Kiddle
a967c4a435 52859: use _date_formats for fc and complete -m/-M for vared 2024-04-01 23:27:09 +02:00
Oliver Kiddle
05c7b21e2b 52646: extend support for highlight groups to completion explanation strings and WATCHFMT 2024-03-05 00:11:02 +01:00
Oliver Kiddle
5331ff11c6 52594: support for POSIX real-time signals with kill and trap
Also add new -L option to kill for a more verbose listing of signals
2024-02-28 00:21:11 +01:00
Oliver Kiddle
618f842b46 52326, 52372: add -q option to kill for sigqueue 2023-12-05 18:51:33 +01:00
Shotaro Aoyama
2573786fd3 github #105: add "-I" for "zle" completion 2023-11-08 02:48:20 +01:00
Atte Peltomäki
d92b1a3547 51980: Add glob qualifier grouping operator to completion
Also improve wording in documentation to make glob qualifier grouping
easier to find by explicit use of terms 'logical OR' and 'logical AND'.
2023-09-20 20:17:09 +02:00
Mikael Magnusson
aecef41f2e 52142: Move _history_modifiers call to _parameter
_parameters is used in many contexts, like assignments in command
position, assignment after typeset, etc, where history modifiers are not
valid. _brace_parameter already calls _history_modifiers explicitly so
this seems more in line with that.
2023-09-15 21:09:51 +02:00
Stephane Chazelas
0577dafcaa Protect some :s from history modifier expansion 2023-06-06 09:22:18 +01:00
Marlon Richert
b41dd30c90 51761: Use zstyle verbose for _parameters descriptions
According to the manual, extra-verbose means "more verbose at the cost
of a probable decrease in completion speed". That's not the case here.
2023-05-21 03:28:43 +02:00
Marlon Richert
9a5f213573 51759: Show alias values in command completions
Show the value of each alias when descriptions are shown. Enabled by default.
2023-05-21 03:14:27 +02:00
Marlon Richert
bb441f77a7 51758: Make dynamic dir completion easier to implement 2023-05-21 03:05:20 +02:00
Sebastian Stark
bb36b80178 51470 (tweaked, c.f. 51476): Separate cdpath elements in path-directories completion 2023-02-24 14:40:38 +01:00
Oliver Kiddle
e2a39513dc unposted: mention attributes changes, fix renumbering mistake and allow completion to offer prompt escapes for PROMPT_EOL_MARK 2023-01-11 16:05:06 +01:00
Jun-ichi Takimoto
8e1c6ed6bf 50421: add context as the 1st arg to _dispatch 2022-07-24 21:08:06 +09:00
Bart Schaefer
8756cc6add Marlon Richert: 50307 (cf. PWS 50205): suffix aliases should not collide with directory names when completing 2022-05-30 12:02:50 -07:00
Mikael Magnusson
92f193f7de 49959: _brace_parameter: add (-) 2022-04-03 11:27:28 +02:00
dana
8e83378c90 unposted (see 48073): _fc: Complete new -s option 2022-04-02 22:07:56 -05:00
Matthew Martin
9e0303b044 49932: Update _brace_parameter # description 2022-03-31 17:40:01 -05:00
Oliver Kiddle
702d773e86 49648 based on github #80 (Vincent Bernat): invert before/since for date glob qualifiers completion 2021-12-16 14:21:19 +01:00
Oliver Kiddle
78c51b34c0 49643: facilitate use of the fake style by always calling _description with the executables tag for command names
Also allow the command-path style to include relative directories.
2021-12-13 20:52:23 +01:00
Oliver Kiddle
632fee7cdf 49528: allow multiple -D options to compadd 2021-10-30 23:35:04 +02:00
Bart Schaefer
344d471c26 49389: leading variables in autoload file completion 2021-09-08 16:03:57 -07:00
Marlon Richert
ca2e71e0eb 48969: fix for "zle -N" completion 2021-09-06 12:48:53 -07:00
Oliver Kiddle
51eaf66bea unposted (based on Marlon: 49273): add -x to local completion 2021-08-27 09:42:11 +02:00
Jun-ichi Takimoto
b4dff9a8e8 49211: _typeset: correctly set return value
do not include '-' in onopts so that 'functions -- <TAB>' works.
2021-07-30 01:10:24 +09:00
Oliver Kiddle
efec6bbdb5 49151: remove commas erroneously included in _arguments exclusion lists 2021-07-09 00:32:37 +02:00
Oliver Kiddle
e6fdd35a83 49150: consistently use singular form for headings on completion match groups 2021-07-09 00:23:52 +02:00
Marlon Richert
e732073415 48864: Improve extra-verbose completion display strings for array parameter values 2021-05-21 23:45:26 +02:00
Bart Schaefer
acd20254b5 48710: histed + other zed updates 2021-05-15 13:37:35 -07:00
Marlon Richert
7d92391c6e Add -L to add-(zsh|zle)-hook[-widget] completion
…and hide mutually exclusive options.
2021-04-19 23:21:08 +02:00
Daniel Shahaf
df899d38e9 48361 (+ 48368 review comments): __arguments: New completion function for _arguments.
In the penultimate paragraph of the comment, the two possibilities for the
relative path cover three cases:

- The comment is read in the source tree

- The comment is read in an installed tree with --enable-function-subdirs

- The comment is read in an installed tree with --disable-function-subdirs

Review-by: Matthew Martin
Review-by: Oliver Kiddle
2021-04-17 12:11:47 +00:00
Marlon Richert
587cced35d 48513: Let extra-verbose completion show parameter values 2021-04-16 23:36:03 +02:00
Oliver Kiddle
eaff11c748 48378: complete compadd options for other completion functions 2021-04-09 21:53:41 +02:00
dana
2ffd292833 47737: _zstyle: Fix option completion when positional arguments are already present (regression from workers/39659 (commit ae3b675ce6))
The following case:

    LBUFFER='zstyle -'
    RBUFFER=' foo bar'

Before this patch, completed 'context pattern' (from the first
positional argument).

With this patch, completes options, which is correct.
2021-03-29 13:44:44 +00:00
taiyu
3714ee0b58 github #68: support section suffix completion for man pages
Support prepend and suffix values for insert-sections
Add values for insert-sections for zstyle completion
2021-02-13 01:01:40 +01:00
Oliver Kiddle
ceb25d9495 47929: complete newer possible values for the sort style 2021-02-07 01:52:40 +01:00
Peter Stephenson
8f42ecd8ee 47873: Improve completion within dynamic directory names 2021-01-27 11:16:55 +00:00
Mikael Magnusson
8773f01f2b 47494, 47495: Add -n option to strftime 2020-10-25 23:06:02 +01:00
Bart Schaefer
63b6398b70 47364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}
Mikael Magnusson: 47382: Completion for 47364
2020-09-13 16:19:52 -07:00
Doug Kearns
0673212f42 unposted: remove periods from completion descriptions
As per the completion-style-guide recommendations.
2020-09-06 03:42:33 +10:00
Mikael Magnusson
841188439b 47306: edit-command-line: add editor style 2020-08-16 18:04:43 +02:00
Mikael Magnusson
b959ec790e 47304: _globflags: support specifying more than one flag where appropriate 2020-08-16 18:04:43 +02:00