summaryrefslogtreecommitdiff
path: root/Completion/Base/Utility
AgeCommit message (Collapse)AuthorFilesLines
2024-11-1153174: add Completion/Base/Utility/_as_ifEric Cook1-0/+10
2023-12-0552373: fix _numbers for suffixes containing % and update affected functionsOliver Kiddle1-1/+1
2023-09-09unposted: extra quoting of words in "eval" for safetyBart Schaefer1-2/+2
2023-08-2752028: improvements to _shadow / _unshadow, plus helper and docBart Schaefer1-20/+46
2022-06-0450323: create helper for shadowing builtins or existing functions and use it ↵Bart Schaefer1-0/+71
when redefining compadd et al.
2022-05-0750184: fix inclusion of -S separator in -r options passed to compadd through ↵Bart Schaefer1-1/+1
_describe
2021-11-2449597: add a helper for completing numbers with unit suffixes and separate ↵Oliver Kiddle1-0/+87
out defaults, ranges and units in completion descriptions
2021-10-2649519: quote completed options as needed and remove the now superfluous ↵Oliver Kiddle1-5/+5
quotes from option specifications
2021-10-2449493: fix '_arguments --' to correctly recognize optional argumentJun-ichi Takimoto1-2/+2
2021-08-2749272: Set $COLUMNS in _call_program to ensure cached command output is ↵Marlon Richert1-0/+1
sufficiently wide
2021-02-07github #63: fix regression caused by 44274, with sort style -o could break ↵oxiedi1-1/+1
_values
2020-09-2247395: _store_cache: Don't leak the variable ${_cache_dir}.Jacob Menke1-1/+1
2020-06-2645895: ignore deduplication patterns in _sequenceoxiedi1-2/+2
2020-05-0345730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely.Daniel Shahaf1-3/+5
Also, write/extend docstrings for sepjoin() and zjoin().
2019-12-2645130: _multi_parts: Always pass -f to compadd if given by callerdana1-1/+1
2019-11-06unposted: fix missing local declarations in _sequenceOliver Kiddle1-1/+1
2019-05-0744274: allow finer control of completion match soring with compadd's -o optionOliver Kiddle5-8/+9
2019-04-22unposted: _pick_variant: Use ${(P) ::= rather than evalMatthew Martin1-4/+4
2019-04-0444201: _command_name: Check for external forcing precommandMatthew Martin1-6/+0
2019-03-2144155: _pick_variant: Update builtin checkMatthew Martin1-8/+22
2018-12-3043930: Improve _multi_parts performancedana1-7/+9
2018-12-2343928: _alternative: Evaluate (...) action syntax as with _argumentsdana1-1/+3
2017-12-2842175 + 42177 + 42178: avoid localized output from external commandsJun-ichi Takimoto2-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'.
2017-08-1841563: fix completion description alignment with _regex_wordsOliver Kiddle1-9/+12
2017-03-0440597: be flexible about order of options to _valuesOliver Kiddle1-3/+4
2016-11-2940035: Cosmetic fixes for comments and documentation.Eitan Adler1-1/+1
Mostly fixes to doubled words.
2016-09-1639333: include name of command used to gain priviliges in context for ↵Oliver Kiddle1-3/+6
command and gain-priviliges styles
2016-09-1139261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges ↵Oliver Kiddle1-2/+9
with sudo in completion functions A new gain-privileges style enables it and a _comp_priv_prefix array added for tracking how to match privileges for the current command
2016-09-0638153: change the way long options are examined for "=" signs to more ↵m0viefreak1-8/+14
accurately identify options that take arguments Note in workers/39135: The pattern in 266/268 appears to match the '=' sign even though it's in the second colon-separated field, where it doesn't denote a mandatory argument. I'm guessing the pattern match on lines 266/268 should be fixed ... This commit alters those patterns in what is hoped to be the desired way.
2016-06-0938641: allow for values which resemble compadd optionsOliver Kiddle1-1/+1
2016-02-1437972: Redirect stderr to /dev/null in cases where ${~param} might generate ↵Barton E. Schaefer1-1/+1
errors
2015-11-2737215: _regex_words: Don't add mismatched parenthesesDaniel Shahaf1-1/+7
I ran into this in the wild¹, it manifested as the following error message: zregexparse:4: not enough regex arguments ¹ https://bug.tasktools.org/browse/TW-1729
2015-09-3036697: handle options of _arguments correctlyJun-ichi Takimoto1-22/+23
2015-06-0235270: _describe: Document a known issue described in 35229Daniel Shahaf1-0/+7
(which is the same thread as 35127 and 34768)
2015-05-3035310 (plus undo 35268 (git 899613f)): fix quoting of cached arraysOliver Kiddle1-2/+9
Also add file name reference to ChangeLog entry from rev 899613f.
2015-05-26c.f. 35268: revert completion cache optimisation for nowPeter Stephenson1-9/+2
2015-03-1634671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git ↵Daniel Shahaf1-15/+20
--fixup' hash completions
2015-02-1234476: change _store_cache assignment formatBarton E. Schaefer1-2/+9
Avoids potentially expensive lexical analysis of the array values.
2015-02-0634456: lopts should be initialized as an arrayJun-ichi Takimoto1-1/+1
otherwise an empty element remains in lopts, which causes a trouble when _arguments -- '*:' is called.
2014-10-1333438: use the new way of splitting strings with a dynamic separatorOliver Kiddle1-11/+11
from 33423 and quote separators where needed
2014-10-0933403: be conservative about redirecting _call_program stderr, the caller ↵Barton E. Schaefer1-2/+2
may have already done so
2014-09-2333223: discard stderr except when _complete_debug is in progress.Barton E. Schaefer1-2/+15
2014-09-1933205: keep array of completions and array of display strings in sync when ↵Barton E. Schaefer1-1/+1
filtering for matches
2014-08-2333047: use git to simplify massively source distribution file selectionPeter Stephenson1-23/+0
2014-08-1432997: new utility function for separated listsOliver Kiddle1-0/+39
2013-05-0431369: set locale for completion if locale command is not usablePeter Stephenson1-3/+10
2013-04-2931355: _comp_locale tries to sanitise locales but keep CTYPE;Peter Stephenson2-5/+34
use this for subversion completion.
2012-12-16Missing .distfiles entriesPeter Stephenson1-1/+1
2012-11-07users/17382: complete URLs for vim and make _remote_files moreOliver Kiddle1-77/+0
consistent with _files
2011-12-1330012: add $state_descrBart Schaefer2-0/+3