summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* unposted: _git-config: Fix user.email completion to complete only bare email ↵Daniel Shahaf2016-11-292-1/+6
| | | | addresses.
* 40011: Make $_comp_priv_prefix only declared when required, and use that to ↵Daniel Shahaf2016-11-287-5/+17
| | | | have chgrp offer all groups under doas, ssh, etc as well.
* 40010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed.Daniel Shahaf2016-11-283-2/+11
|
* 40009: alias -L: Emit aliases that begin with a plus sign correctly.Daniel Shahaf2016-11-282-2/+7
|
* 39757 plus test: Fix completion under parenthetical directory names, broken ↵Daniel Shahaf2016-11-272-1/+4
| | | | in 39412
* 40013: process zsh-specific time format extensions correctlyJun-ichi Takimoto2016-11-263-3/+9
|
* unposted: set new vichange flag for surround widgetOliver Kiddle2016-11-252-0/+3
|
* 40020: new cscope completionOliver Kiddle2016-11-252-0/+33
|
* 40018 + 40019: Add missing commands to Debian apt completionLaurent Arnoud2016-11-252-5/+22
| | | | | Upstream ref https://github.com/Debian/apt/commit/5aba18968d87500232244760101ab2954c106581
* unposted: fix typo (=+ to +=)Oliver Kiddle2016-11-242-1/+3
|
* 40004: fix cache mechanism, complete groups and other minor improvementsOliver Kiddle2016-11-242-132/+156
|
* unposted: fix to compile on Solaris where curses.h has a #define for reg to ↵Oliver Kiddle2016-11-242-9/+14
| | | | register
* 40003: include "0-"9 vi buffers in the registers associative arrayOliver Kiddle2016-11-243-10/+30
|
* 40005: call _date_formats from _dateJun-ichi Takimoto2016-11-243-37/+83
| | | | also update both files for darwin etc.
* 39982: $SPROMPT: Don't accept a spelling correction at space/tab.Daniel Shahaf2016-11-243-4/+14
| | | | | The patch also downscopes a couple of local variables, with no functional change.
* unposted: clear ERRFLAG_ERROR before invoking immortal widget (cf. 39934)Bart Schaefer2016-11-232-1/+10
| | | | Updates commit cbb9ca3d
* unposted: add test case for partial completion matching of options with ↵Oliver Kiddle2016-11-232-0/+8
| | | | arguments
* unposted: fix printf -v to an array without format string reuseOliver Kiddle2016-11-233-2/+13
|
* 39993: Tests for 39981.Oliver Kiddle2016-11-212-0/+15
|
* 39981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵Daniel Shahaf2016-11-212-0/+9
| | | | | | suffix. Motivated by 39930.
* unposted: Credit Sebastian for 39992.Daniel Shahaf2016-11-211-2/+2
|
* 39986, 39989: improve handling of vi-repeat-changeOliver Kiddle2016-11-2011-87/+147
| | | | | | Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied.
* 39974: complete shared libraries for -e and -s options to ssh-addOliver Kiddle2016-11-202-3/+8
|
* 39900: Add TERMINFO_DIRS special like TERMINFO.Guillaume Maudoux2016-11-203-4/+49
| | | | Although this is a colon-separated array there is no tied array.
* 39995 (from 39977): Optimise string parameter assignment.Peter Stephenson2016-11-203-8/+174
| | | | | If setter is the standard one and string length is unchnaged we can copy into place.
* 39978: more accurate doc for finding job by stringMikel Ward2016-11-202-2/+7
|
* 39992: setarrvalue: Allocate a correctly-sized array.Daniel Shahaf2016-11-202-2/+13
| | | | | No memory was lost; the array was allocated with room for one (char *) element more than was required.
* unposted (after 39952): Restore C89 compatibility.Daniel Shahaf2016-11-202-1/+5
|
* 39985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT.Daniel Shahaf2016-11-202-0/+13
|
* 39916 + 39930 + tweak: _git: Complete options and values for -c.Daniel Shahaf2016-11-182-3/+52
| | | | | | | | | The "$@" in the option-names call is added in order to propagate the new (-S =) arguments. This bifurcates _git-config() in order to provide completion for % git -c <TAB> % git -c foo=<TAB>
* 39958: Add extra byte to PATH_MAX allocations.Peter Stephenson2016-11-178-22/+28
| | | | | This ensures we've got enough space for a null, although this isn't always needed.
* 39921: __git_recent_branches: Remove erroneous parsing of partial ref names ↵Daniel Shahaf2016-11-172-3/+6
| | | | | | | | | | | | as tags. In the reflog, partial ref names in the "from" field always represent names of heads. (That is not true for the "to" field.) The parsing of tag names was added in commit 39102 (317c96b64f43688a6be08a8b1c93b6ab4eed662c) for equivalence with the then-previous implementation which used `git log $partial_ref_name`. The equivalence was correct, however, the then-previous implementation was not, since it would consider $partial_ref_name as a refs/tags/ name if a refs/heads/ name did not exist.
* 39922: __git_recent_branches: Fix an 'assertion' failure when two branches ↵Daniel Shahaf2016-11-172-11/+12
| | | | (refs) point to the same commit.
* 39917: Complete setsid(1) as a precommandDaniel Shahaf2016-11-172-1/+4
|
* 39915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵Daniel Shahaf2016-11-173-7/+25
| | | | | | '../'. While here, add some docstrings.
* 39962: bind vi case conversion widgetsOliver Kiddle2016-11-172-0/+6
| | | | u/U in visual mode and g~ from normal mode
* 39959: when repeating vi changes advance through the numbered killring registersOliver Kiddle2016-11-173-9/+45
| | | | | Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
* 39952: add registers special parameter to provide access to the vi register ↵Oliver Kiddle2016-11-173-0/+111
| | | | buffers from a zle widget function
* 39945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle2016-11-164-1/+70
| | | | compstate[insert] is emptied
* 39943: no need to compute arrlen() in arrdup_max() when max == 0.Barton E. Schaefer2016-11-152-2/+8
|
* 39949: Special case for "-" in directory names.Peter Stephenson2016-11-154-39/+59
| | | | | It can be sh-tokenized to Dash to allow for appearing in ranges after substitution, so needs to be turned back to "-" in that case.
* 39947: Additional test for array subscripts.Peter Stephenson2016-11-152-0/+13
| | | | | This checks out-of-range multiple subscripts with and without the (@) flag.
* 39937: fix a problem introduced by 39886.Jun-ichi Takimoto2016-11-152-3/+9
| | | | $a[i,j] should become an empty array if i>j.
* 39906: More multibyte optimisations for US-ASCII.Peter Stephenson2016-11-142-3/+28
| | | | | This treats characters 0 to 0x7f as single byte US-ASCII along the lines we already do in other places in the code.
* unposted: comment in zlecallhook() points to redrawhook() just in caseBarton E. Schaefer2016-11-132-0/+5
|
* 39934: if a widget execution fails, try to execute a corresponding immortal ↵Barton E. Schaefer2016-11-132-3/+18
| | | | widget instead.
* 39933: more of zlecallhook() in redrawhook()Barton E. Schaefer2016-11-132-2/+20
| | | | add commentary on some of the differences
* 39929: clarify execute{,-last}-named-cmdBarton E. Schaefer2016-11-132-3/+12
|
* unposted: Addenda to list of module hooksBarton E. Schaefer2016-11-121-12/+15
|
* unposted: add list of standard module hooks with corresponding macro namesBarton E. Schaefer2016-11-122-0/+30
|