summaryrefslogtreecommitdiff
path: root/Completion/Base/Core
AgeCommit message (Collapse)AuthorFilesLines
2023-05-2151348: Fix subscript completion bugs inside ~[...]Marlon Richert1-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.
2021-11-2449597: add a helper for completing numbers with unit suffixes and separate ↵Oliver Kiddle1-0/+8
out defaults, ranges and units in completion descriptions
2021-11-1249561: add zformat -F option, similar to -f but ternary expressions check ↵Oliver Kiddle2-2/+2
for existence instead of doing math evaluation
2021-03-1748180: Start menu selection with select=long-list in menu styleMarlon Richert1-1/+1
2021-01-2747873: Improve completion within dynamic directory namesPeter Stephenson1-2/+12
2019-10-1244767: _description: Ignore -Jdana1-2/+2
2019-05-0744274: allow finer control of completion match soring with compadd's -o optionOliver Kiddle1-14/+18
2019-04-0444202 (tweaked): _normal: Add -P to reset precommandsMatthew Martin1-1/+2
2019-04-0444201: _command_name: Check for external forcing precommandMatthew Martin1-0/+6
2019-04-0444200 (tweaked): Completion: Append to precommands in _normalMatthew Martin1-2/+3
2019-04-0444199: _normal: Use zparseoptsMatthew Martin1-8/+5
2016-11-2840011: Make $_comp_priv_prefix only declared when required, and use that to ↵Daniel Shahaf1-1/+3
have chgrp offer all groups under doas, ssh, etc as well.
2016-11-1639945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle1-1/+2
compstate[insert] is emptied
2016-09-1139261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges ↵Oliver Kiddle1-0/+1
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-07-2138904: fix return status in _normal and functions erroneously using it for ↵Oliver Kiddle1-2/+2
default completion
2015-06-27Don't require MULTI_FUNCDEF in _main_complete.Peter Stephenson1-1/+6
Although it gets set there, _main_complete is parsed to the end first.
2015-06-0635163: move "show-ambiguity" style to _setup so that more precise context ↵Barton E. Schaefer2-7/+13
can be applied
2015-03-21users/20034: adjust PREFIX and SUFFIX for unambiguous_cursor on second ↵Barton E. Schaefer1-0/+10
completion attempt with GLOB_COMPLETE
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson1-8/+13
Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles.
2014-12-0733901: fix warning message reference to funcstack (updates 33859)Barton E. Schaefer1-1/+1
2014-12-0533859: Fix traps in completionPeter Stephenson1-2/+5
We need to use a function-style trap in order for the effect of the interrupt to propagate back correctly.
2014-10-2933563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko ↵Barton E. Schaefer1-1/+1
in status message for INT/QUIT signals; check errflag in output loops Two semi-related patches for keyboard interrupt handling in completion, most importantly so that unexpectedly long completion listings can be interrupted.
2014-08-2333047: use git to simplify massively source distribution file selectionPeter Stephenson1-4/+0
2014-03-0332439: add new show-ambiguity styleOliver Kiddle1-0/+8
2014-02-2632435: improved quoting for ignore-line completion styleJun T1-7/+9
2014-01-3032322: display a message when completion is interrupted from the keyboardBarton E. Schaefer1-0/+5
2012-01-0530081: make _main_complete independent of IGNORE_CLOSE_BRACES optionPeter Stephenson1-3/+10
2011-12-1330012: add $state_descrBart Schaefer1-1/+2
2011-05-2429338: fix pattern in _main_complete for insert-tab.Mikael Magnusson1-1/+1
2010-12-06users/15621: compdef -p/-P <pat>=<service>Peter Stephenson1-0/+5
users/15622: use service with _pick_variant
2010-04-2727911: no completion colouring with old lists when turned offPeter Stephenson1-2/+7
2009-07-30users/14267: files added by ignore-line should be quotedPeter Stephenson1-6/+7
2009-04-0126801: add completion for calendar functionPeter Stephenson1-0/+3
add tracking of precommand modifiers that are in effect
2009-03-1726746: tweak history modifier completionPeter Stephenson1-1/+3
2009-03-1626744: completion of history modifiers in normal command line argumentsPeter Stephenson1-0/+13
2006-11-15users/10989: add fake-always pattern that overrides ignored-patternsPeter Stephenson1-8/+16
2004-10-0120427: Fix problem with _oldlist and custom completer.Peter Stephenson1-1/+11
20339: show-completer style
2004-08-1120254: restrict scope of the default tag-order to fix a problem with cdrecordOliver Kiddle1-0/+1
completion. Ideally the tag-order should go but _arguments currently needs it.
2004-06-03users/7467: quoted commands weren't found in dispatcher lokoupPeter Stephenson1-0/+4
2004-03-02zsh-users/7100: fix completion of =file when noequals is setPeter Stephenson1-1/+1
2003-08-0118920: fix unset IFS bettererPeter Stephenson1-0/+2
2003-07-2118859: Allow the sort style to override sorting by setting explicitly to false.Peter Stephenson1-1/+13
2003-04-2518472: spelling correctionsOliver Kiddle1-3/+1
2003-02-2618299: allow _next_tags to work with nested tag loopsOliver Kiddle3-0/+5
2002-06-26two new modes for menu selection: incremental search and interactive (17366)Sven Wischnowsky1-0/+13
2002-03-1716849: shift off `-s' argument.Bart Schaefer1-0/+1
2002-03-13remove that -T option to compdef again and instead use comma-separated ↵Sven Wischnowsky2-35/+19
sub-contexts both for function and style lookup (16819)
2002-03-05unposted: usual fixups for .distfilesPeter Stephenson1-0/+1
2002-03-04allow different sets of completion definitions selected with option -T to ↵Sven Wischnowsky2-113/+108
compdef; use this for parameter values and redirections (16755)
2002-02-25make _message inhibit insertion of matches unless there are faked ones (16710)Sven Wischnowsky1-0/+2