Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges ↵ | Oliver Kiddle | 2016-09-11 | 2 | -2/+10 |
| | | | | | | | 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 | ||||
* | 38153: change the way long options are examined for "=" signs to more ↵ | m0viefreak | 2016-09-06 | 1 | -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. | ||||
* | 39046 + 39061: New :P history modifier. | Daniel Shahaf | 2016-08-22 | 1 | -1/+1 |
| | |||||
* | 38904: fix return status in _normal and functions erroneously using it for ↵ | Oliver Kiddle | 2016-07-21 | 1 | -2/+2 |
| | | | | default completion | ||||
* | 38641: allow for values which resemble compadd options | Oliver Kiddle | 2016-06-09 | 1 | -1/+1 |
| | |||||
* | For help listing, capture the fallback to compctl in case there is one defined | Barton E. Schaefer | 2016-04-09 | 1 | -1/+2 |
| | |||||
* | 37972: Redirect stderr to /dev/null in cases where ${~param} might generate ↵ | Barton E. Schaefer | 2016-02-14 | 3 | -3/+3 |
| | | | | errors | ||||
* | 37215: _regex_words: Don't add mismatched parentheses | Daniel Shahaf | 2015-11-27 | 1 | -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 | ||||
* | 36841: factor out and update the patterns that filter "uninteresting" ↵ | Barton E. Schaefer | 2015-10-11 | 1 | -3/+6 |
| | | | | functions out of the $funcstack display | ||||
* | 36697: handle options of _arguments correctly | Jun-ichi Takimoto | 2015-09-30 | 1 | -22/+23 |
| | |||||
* | unposted (cf. 36200): back out _expand backslash handling change from 34961. | Barton E. Schaefer | 2015-08-17 | 1 | -1/+1 |
| | |||||
* | Don't require MULTI_FUNCDEF in _main_complete. | Peter Stephenson | 2015-06-27 | 1 | -1/+6 |
| | | | | Although it gets set there, _main_complete is parsed to the end first. | ||||
* | 35163: move "show-ambiguity" style to _setup so that more precise context ↵ | Barton E. Schaefer | 2015-06-06 | 2 | -7/+13 |
| | | | | can be applied | ||||
* | 35270: _describe: Document a known issue described in 35229 | Daniel Shahaf | 2015-06-02 | 1 | -0/+7 |
| | | | | (which is the same thread as 35127 and 34768) | ||||
* | 35310 (plus undo 35268 (git 899613f)): fix quoting of cached arrays | Oliver Kiddle | 2015-05-30 | 1 | -2/+9 |
| | | | | Also add file name reference to ChangeLog entry from rev 899613f. | ||||
* | c.f. 35268: revert completion cache optimisation for now | Peter Stephenson | 2015-05-26 | 1 | -9/+2 |
| | |||||
* | 34961: unquote history words when command line has a quote | Barton E. Schaefer | 2015-04-25 | 1 | -1/+6 |
| | |||||
* | 34961: add backslash to alias expansion matching (related to workers/32186) | Barton E. Schaefer | 2015-04-25 | 1 | -1/+1 |
| | |||||
* | users/20034: adjust PREFIX and SUFFIX for unambiguous_cursor on second ↵ | Barton E. Schaefer | 2015-03-21 | 1 | -0/+10 |
| | | | | completion attempt with GLOB_COMPLETE | ||||
* | 34671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git ↵ | Daniel Shahaf | 2015-03-16 | 1 | -15/+20 |
| | | | | --fixup' hash completions | ||||
* | 34476: change _store_cache assignment format | Barton E. Schaefer | 2015-02-12 | 1 | -2/+9 |
| | | | | Avoids potentially expensive lexical analysis of the array values. | ||||
* | 34456: lopts should be initialized as an array | Jun-ichi Takimoto | 2015-02-06 | 1 | -1/+1 |
| | | | | | otherwise an empty element remains in lopts, which causes a trouble when _arguments -- '*:' is called. | ||||
* | unposted (cf. 34218): : remove -m from zmodload calls | Barton E. Schaefer | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | 34202: safe tempfile creation part 3 -- use zf_ln instead of mv | Barton E. Schaefer | 2015-01-10 | 1 | -1/+2 |
| | |||||
* | 34068: create tempfiles without forking, and safe temp directory creation | Barton E. Schaefer | 2014-12-28 | 1 | -1/+1 |
| | |||||
* | 34067: safe tempfile creation, part 1 | Barton E. Schaefer | 2014-12-27 | 1 | -0/+1 |
| | |||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -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. | ||||
* | 33901: fix warning message reference to funcstack (updates 33859) | Barton E. Schaefer | 2014-12-07 | 1 | -1/+1 |
| | |||||
* | 33859: Fix traps in completion | Peter Stephenson | 2014-12-05 | 1 | -2/+5 |
| | | | | | We need to use a function-style trap in order for the effect of the interrupt to propagate back correctly. | ||||
* | users/19365: completer for current directory of other shell processes | Oliver Kiddle | 2014-11-25 | 1 | -0/+39 |
| | |||||
* | 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko ↵ | Barton E. Schaefer | 2014-10-29 | 1 | -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. | ||||
* | 33438: use the new way of splitting strings with a dynamic separator | Oliver Kiddle | 2014-10-13 | 1 | -11/+11 |
| | | | | from 33423 and quote separators where needed | ||||
* | 33403: be conservative about redirecting _call_program stderr, the caller ↵ | Barton E. Schaefer | 2014-10-09 | 1 | -2/+2 |
| | | | | may have already done so | ||||
* | 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completion | Barton E. Schaefer | 2014-10-02 | 1 | -2/+0 |
| | | | | add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line. | ||||
* | 33223: discard stderr except when _complete_debug is in progress. | Barton E. Schaefer | 2014-09-23 | 1 | -2/+15 |
| | |||||
* | 33205: keep array of completions and array of display strings in sync when ↵ | Barton E. Schaefer | 2014-09-19 | 1 | -1/+1 |
| | | | | filtering for matches | ||||
* | 33088: indentation in $PS4 | Barton E. Schaefer | 2014-09-03 | 1 | -0/+2 |
| | |||||
* | 33069: remove internal quoting before lookup when expanding aliases in an ↵ | Barton E. Schaefer | 2014-08-30 | 1 | -0/+2 |
| | | | | unquoted word | ||||
* | 33047: use git to simplify massively source distribution file selection | Peter Stephenson | 2014-08-23 | 5 | -49/+0 |
| | |||||
* | 32997: new utility function for separated lists | Oliver Kiddle | 2014-08-14 | 1 | -0/+39 |
| | |||||
* | unposted: updates for 5.0.5-dev-1 and subsequent 5.0.6 release zsh-5.0.5-dev-1 | Peter Stephenson | 2014-08-10 | 1 | -0/+1 |
| | |||||
* | 32441: add completer for file extensions | Oliver Kiddle | 2014-03-03 | 1 | -0/+33 |
| | |||||
* | 32439: add new show-ambiguity style | Oliver Kiddle | 2014-03-03 | 1 | -0/+8 |
| | |||||
* | 32435: improved quoting for ignore-line completion style | Jun T | 2014-02-26 | 1 | -7/+9 |
| | |||||
* | users/18498: observe add-space style in _expand_alias so suffix can be disabled | Oliver Kiddle | 2014-02-25 | 1 | -2/+3 |
| | |||||
* | 32322: display a message when completion is interrupted from the keyboard | Barton E. Schaefer | 2014-01-30 | 1 | -0/+5 |
| | |||||
* | 32186: fix bad backreference; handle glob patterns with backslashed quotes | Barton E. Schaefer | 2013-12-28 | 1 | -2/+2 |
| | |||||
* | 31205: Do not display "(eval)" as a tag context | Barton E. Schaefer | 2013-06-10 | 1 | -1/+1 |
| | |||||
* | 31369: set locale for completion if locale command is not usable | Peter Stephenson | 2013-05-04 | 1 | -3/+10 |
| | |||||
* | 31355: _comp_locale tries to sanitise locales but keep CTYPE; | Peter Stephenson | 2013-04-29 | 2 | -5/+34 |
| | | | | use this for subversion completion. |