Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 52373: fix _numbers for suffixes containing % and update affected functions | Oliver Kiddle | 2023-12-05 | 1 | -1/+1 |
| | |||||
* | unposted: extra quoting of words in "eval" for safety | Bart Schaefer | 2023-09-09 | 1 | -2/+2 |
| | |||||
* | Marlon Richert: 51861: fix _approximate when compadd has been overridden | Bart Schaefer | 2023-08-27 | 1 | -26/+22 |
| | | | | | Before this patch, if compadd had been overridden by a function of the same name, _approximate would not do corrections. | ||||
* | 52028: improvements to _shadow / _unshadow, plus helper and doc | Bart Schaefer | 2023-08-27 | 1 | -20/+46 |
| | |||||
* | 51860: simplify suffix handling in _prefix to remove less accurate hack | Marlon Richert | 2023-06-22 | 1 | -7/+2 |
| | | | | | | | | | | | | | | | | | | | This solves the following problems in the _prefix completer: - The old code had logic for dealing with compstate[unambiguous] that was unnecessary. It works fine without it. - Because of this logic, if a widget set compstate[insert]=1 after calling _main_complete, an `x` was left after the completion on the command line. - If the same widget also set `compstate[to_end]=`, then instead, the last character of the inserted completion would be treated as an autoremovable suffix, with the actual suffix being inserted to the line as a normal character. - After inserting a completion, the cursor would move to the end of the entire current word on the command, not the end of word that was inserted. This is not what you want with _prefix, since you are trying to complete a word _before_ the one on the command line, after which you usually want to insert a separator, such as a space or slash, before the next word. | ||||
* | 51348: Fix subscript completion bugs inside ~[...] | Marlon Richert | 2023-05-21 | 1 | -13/+9 |
| | | | | | | | | | | | | | When completing inside ~[...] (_with_ the trailing `]` present), the following bugs occured: - Subscript completion was skipped entirely when there were one or more slashes ('/') in the subscript, which is incorrect, since slashes are allowed there. - Instead of going through _complete, $_comps[-subscript-] was called immediately, causing _setup to be skipped. - If succesful, _main_complete was exited right after, causing menu-style, comppostfuncs and other essential completion features to be skipped. | ||||
* | 50399: Completion/Base/Widget/_complete_debug | Bart Schaefer | 2022-09-28 | 1 | -1/+1 |
| | | | | Properly local scope PS4 change | ||||
* | 50323: create helper for shadowing builtins or existing functions and use it ↵ | Bart Schaefer | 2022-06-04 | 2 | -1/+73 |
| | | | | when redefining compadd et al. | ||||
* | 50184: fix inclusion of -S separator in -r options passed to compadd through ↵ | Bart Schaefer | 2022-05-07 | 1 | -1/+1 |
| | | | | _describe | ||||
* | 49597: add a helper for completing numbers with unit suffixes and separate ↵ | Oliver Kiddle | 2021-11-24 | 2 | -0/+95 |
| | | | | out defaults, ranges and units in completion descriptions | ||||
* | 49572: Let _expand preserve array form w/out zstyle glob | Marlon Richert | 2021-11-12 | 1 | -1/+1 |
| | |||||
* | 49561: add zformat -F option, similar to -f but ternary expressions check ↵ | Oliver Kiddle | 2021-11-12 | 2 | -2/+2 |
| | | | | for existence instead of doing math evaluation | ||||
* | 49519: quote completed options as needed and remove the now superfluous ↵ | Oliver Kiddle | 2021-10-26 | 1 | -5/+5 |
| | | | | quotes from option specifications | ||||
* | 49493: fix '_arguments --' to correctly recognize optional argument | Jun-ichi Takimoto | 2021-10-24 | 1 | -2/+2 |
| | |||||
* | 49272: Set $COLUMNS in _call_program to ensure cached command output is ↵ | Marlon Richert | 2021-08-27 | 1 | -0/+1 |
| | | | | sufficiently wide | ||||
* | 49150: consistently use singular form for headings on completion match groups | Oliver Kiddle | 2021-07-09 | 2 | -3/+3 |
| | |||||
* | 48709: suppress error messages from comptry | Bart Schaefer | 2021-05-15 | 1 | -1/+1 |
| | |||||
* | 48617: fix misuse of IGNORE_BRACES when initializing debug_indent | Bart Schaefer | 2021-04-19 | 1 | -1/+5 |
| | |||||
* | 48214: add file types to _expand completions, so they can be colored through ↵ | Marlon Richert | 2021-03-31 | 1 | -4/+5 |
| | | | | complist | ||||
* | 48180: Start menu selection with select=long-list in menu style | Marlon Richert | 2021-03-17 | 1 | -1/+1 |
| | |||||
* | github #63: fix regression caused by 44274, with sort style -o could break ↵ | oxiedi | 2021-02-07 | 1 | -1/+1 |
| | | | | _values | ||||
* | 47873: Improve completion within dynamic directory names | Peter Stephenson | 2021-01-27 | 1 | -2/+12 |
| | |||||
* | 47395: _store_cache: Don't leak the variable ${_cache_dir}. | Jacob Menke | 2020-09-22 | 1 | -1/+1 |
| | |||||
* | 45895: ignore deduplication patterns in _sequence | oxiedi | 2020-06-26 | 1 | -2/+2 |
| | |||||
* | 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely. | Daniel Shahaf | 2020-05-03 | 1 | -3/+5 |
| | | | | Also, write/extend docstrings for sepjoin() and zjoin(). | ||||
* | 45130: _multi_parts: Always pass -f to compadd if given by caller | dana | 2019-12-26 | 1 | -1/+1 |
| | |||||
* | 44912: more quoting fixes in _expand | Wayne Davison | 2019-11-26 | 1 | -1/+1 |
| | | | | Don't set done_quote=1 if the glob result is empty. | ||||
* | unposted: fix missing local declarations in _sequence | Oliver Kiddle | 2019-11-06 | 1 | -1/+1 |
| | |||||
* | 44767: _description: Ignore -J | dana | 2019-10-12 | 1 | -2/+2 |
| | |||||
* | 44274: allow finer control of completion match soring with compadd's -o option | Oliver Kiddle | 2019-05-07 | 6 | -22/+27 |
| | |||||
* | unposted: _pick_variant: Use ${(P) ::= rather than eval | Matthew Martin | 2019-04-22 | 1 | -4/+4 |
| | |||||
* | 44202 (tweaked): _normal: Add -P to reset precommands | Matthew Martin | 2019-04-04 | 1 | -1/+2 |
| | |||||
* | 44201: _command_name: Check for external forcing precommand | Matthew Martin | 2019-04-04 | 2 | -6/+6 |
| | |||||
* | 44200 (tweaked): Completion: Append to precommands in _normal | Matthew Martin | 2019-04-04 | 1 | -2/+3 |
| | |||||
* | 44199: _normal: Use zparseopts | Matthew Martin | 2019-04-04 | 1 | -8/+5 |
| | |||||
* | 44155: _pick_variant: Update builtin check | Matthew Martin | 2019-03-21 | 1 | -8/+22 |
| | |||||
* | 43930: Improve _multi_parts performance | dana | 2018-12-30 | 1 | -7/+9 |
| | |||||
* | 43928: _alternative: Evaluate (...) action syntax as with _arguments | dana | 2018-12-23 | 1 | -1/+3 |
| | |||||
* | 43752: Fix _expand quoting. | Peter Stephenson | 2018-11-03 | 1 | -2/+12 |
| | | | | Quoting was not applied properly if globbing failed or was not applied. | ||||
* | users/23169: only expand ~[...] under the same circumstances as other ~forms | Peter Stephenson | 2018-02-26 | 1 | -1/+2 |
| | |||||
* | 42175 + 42177 + 42178: avoid localized output from external commands | Jun-ichi Takimoto | 2017-12-28 | 2 | -7/+16 |
| | | | | | | _call_program and '_arguments --' will call _comp_locale before calling external command for easier analysis of the output. This is disabled by passing an option '-l'. | ||||
* | 41563: fix completion description alignment with _regex_words | Oliver Kiddle | 2017-08-18 | 1 | -9/+12 |
| | |||||
* | 40597: be flexible about order of options to _values | Oliver Kiddle | 2017-03-04 | 1 | -3/+4 |
| | |||||
* | 40053: exclude current directory of active zsh from _external_pwds ompletion ↵ | Oliver Kiddle | 2016-12-01 | 1 | -1/+1 |
| | | | | matches | ||||
* | 40035: Cosmetic fixes for comments and documentation. | Eitan Adler | 2016-11-29 | 1 | -1/+1 |
| | | | | Mostly fixes to doubled words. | ||||
* | 40011: Make $_comp_priv_prefix only declared when required, and use that to ↵ | Daniel Shahaf | 2016-11-28 | 1 | -1/+3 |
| | | | | have chgrp offer all groups under doas, ssh, etc as well. | ||||
* | 39945: allow further tab presses to move on to menu completion even when ↵ | Oliver Kiddle | 2016-11-16 | 1 | -1/+2 |
| | | | | compstate[insert] is emptied | ||||
* | 39710 (cf. Alex George: 39709): handle the %o format in the "all-expansions" tag | Barton E. Schaefer | 2016-10-22 | 2 | -3/+13 |
| | | | | Also allow a single unique match to appear in the "expansions" tag of _expand in the same way as _user_expand (users/21955 commit 18200dc0) | ||||
* | users/21955: add missing final colon in zstyle context lookup; allow a ↵ | Barton E. Schaefer | 2016-09-21 | 1 | -2/+2 |
| | | | | single unique match to appear in "expansions" tag | ||||
* | 39333: include name of command used to gain priviliges in context for ↵ | Oliver Kiddle | 2016-09-16 | 1 | -3/+6 |
| | | | | command and gain-priviliges styles |