Mikael Magnusson
1ba59c4147
unposted: fix previous commit
2016-12-01 03:58:13 +01:00
Mikael Magnusson
989f5e590c
40024: Update _path_files since quoting requirements changed in 39412
2016-12-01 03:42:32 +01:00
Jun-ichi Takimoto
e8699613bc
40050: prepend /**/ to global functions and #ifdefs
2016-12-01 08:58:29 +09:00
Peter Stephenson
2d87bf8dff
40049: NEWS about Unicode 9 (40037)
2016-11-30 16:20:40 +00:00
Peter Stephenson
e8df1c7056
40043: fix computil.c indentation (cosmetic)
2016-11-30 16:19:21 +00:00
Daniel Shahaf
f90200c869
40036: _bts: Complete removal syntaxes correctly.
...
The incumbent pattern matched the minus in 'bts tag 42 - <TAB>' (and other,
similar subcommands).
2016-11-30 16:10:20 +00:00
Barton E. Schaefer
3ba86f4db4
40034: clear badcshglob when ignoring errors
2016-11-29 12:35:57 -08:00
Barton E. Schaefer
a9fe87e18c
40032: consistency in handling of subscript slices outside the bounds of an array parameter
...
unposted: README: example describing 40032
2016-11-29 12:31:33 -08:00
Joshua Rubin
596ba302e6
40037: Unicode 9 character width support.
...
Enable with --enable-unicode9.
2016-11-29 17:19:53 +00:00
Eitan Adler
110ffae9fe
40035: Cosmetic fixes for comments and documentation.
...
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Peter Stephenson
32daf2a0aa
40026: Fix for completion after redirection.
...
This could get confused about where we were in the command
line word array e.g. after the > of "!> .". Also take more care
if does confused, with debug output. Also neaten up one
obscure test.
2016-11-29 17:08:56 +00:00
Daniel Shahaf
3a83e481ab
unposted: Complete the $foo[(f)] flag.
2016-11-29 06:41:22 +00:00
Daniel Shahaf
a74294edbe
unposted: _git-config: Fix user.email completion to complete only bare email addresses.
2016-11-29 06:41:21 +00:00
Daniel Shahaf
1955cceec7
40011: Make $_comp_priv_prefix only declared when required, and use that to have chgrp offer all groups under doas, ssh, etc as well.
2016-11-28 07:16:39 +00:00
Daniel Shahaf
a81f280bfa
40010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed.
2016-11-28 07:16:38 +00:00
Daniel Shahaf
3a8727dc6b
40009: alias -L: Emit aliases that begin with a plus sign correctly.
2016-11-28 07:16:37 +00:00
Daniel Shahaf
eccb7471b5
39757 plus test: Fix completion under parenthetical directory names, broken in 39412
2016-11-27 15:12:00 +00:00
Jun-ichi Takimoto
53e6b12bdf
40013: process zsh-specific time format extensions correctly
2016-11-26 16:36:21 +09:00
Oliver Kiddle
5dc7b35ff6
unposted: set new vichange flag for surround widget
2016-11-25 23:07:53 +01:00
Oliver Kiddle
a7f5db14b3
40020: new cscope completion
2016-11-25 23:05:54 +01:00
Laurent Arnoud
e34045819d
40018 + 40019: Add missing commands to Debian apt completion
...
Upstream ref
5aba18968d
2016-11-25 17:02:21 +00:00
Oliver Kiddle
5beb65a0f7
unposted: fix typo (=+ to +=)
2016-11-24 16:20:43 +01:00
Oliver Kiddle
8ec1a25994
40004: fix cache mechanism, complete groups and other minor improvements
2016-11-24 16:11:55 +01:00
Oliver Kiddle
2e44ac72f6
unposted: fix to compile on Solaris where curses.h has a #define for reg to register
2016-11-24 16:11:52 +01:00
Oliver Kiddle
3570172d3b
40003: include "0-"9 vi buffers in the registers associative array
2016-11-24 16:05:00 +01:00
Jun-ichi Takimoto
fe2d87767d
40005: call _date_formats from _date
...
also update both files for darwin etc.
2016-11-24 21:33:15 +09:00
Daniel Shahaf
b3a88a53d3
39982: $SPROMPT: Don't accept a spelling correction at space/tab.
...
The patch also downscopes a couple of local variables, with no
functional change.
2016-11-24 08:18:28 +00:00
Bart Schaefer
c0f95d07e7
unposted: clear ERRFLAG_ERROR before invoking immortal widget (cf. 39934)
...
Updates commit cbb9ca3d
2016-11-23 18:15:17 -08:00
Oliver Kiddle
07509be51a
unposted: add test case for partial completion matching of options with arguments
2016-11-23 11:57:02 +01:00
Oliver Kiddle
ee1222454e
unposted: fix printf -v to an array without format string reuse
2016-11-23 11:52:12 +01:00
Oliver Kiddle
85ba685813
39993: Tests for 39981.
2016-11-21 05:40:09 +00:00
Daniel Shahaf
1f5c734f5e
39981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored suffix.
...
Motivated by 39930.
2016-11-21 05:40:09 +00:00
Daniel Shahaf
45c92778c6
unposted: Credit Sebastian for 39992.
2016-11-21 02:55:16 +00:00
Oliver Kiddle
cb5f100bd3
39986, 39989: improve handling of vi-repeat-change
...
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.
2016-11-20 23:59:48 +01:00
Oliver Kiddle
fe67ccacf1
39974: complete shared libraries for -e and -s options to ssh-add
2016-11-20 23:59:35 +01:00
Guillaume Maudoux
dae21874d4
39900: Add TERMINFO_DIRS special like TERMINFO.
...
Although this is a colon-separated array there is no tied array.
2016-11-20 20:24:15 +00:00
Peter Stephenson
368884a3aa
39995 (from 39977): Optimise string parameter assignment.
...
If setter is the standard one and string length is unchnaged we can
copy into place.
2016-11-20 19:41:52 +00:00
Mikel Ward
a2426747da
39978: more accurate doc for finding job by string
2016-11-20 19:18:34 +00:00
Daniel Shahaf
f35198d837
39992: setarrvalue: Allocate a correctly-sized array.
...
No memory was lost; the array was allocated with room for one (char *) element
more than was required.
2016-11-20 11:56:02 +00:00
Daniel Shahaf
6e1684e332
unposted (after 39952): Restore C89 compatibility.
2016-11-20 08:09:33 +00:00
Daniel Shahaf
968a59bfd0
39985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT.
2016-11-20 05:34:21 +00:00
Daniel Shahaf
df8d219da3
39916 + 39930 + tweak: _git: Complete options and values for -c.
...
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>
2016-11-18 02:11:05 +00:00
Peter Stephenson
a62e1640bc
39958: Add extra byte to PATH_MAX allocations.
...
This ensures we've got enough space for a null, although this
isn't always needed.
2016-11-17 19:49:17 +00:00
Daniel Shahaf
297471cf77
39921: __git_recent_branches: Remove erroneous parsing of partial ref names 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 (317c96b64f ) 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.
2016-11-17 15:32:05 +00:00
Daniel Shahaf
d7b57cc957
39922: __git_recent_branches: Fix an 'assertion' failure when two branches (refs) point to the same commit.
2016-11-17 15:32:04 +00:00
Daniel Shahaf
307da989d8
39917: Complete setsid(1) as a precommand
2016-11-17 15:32:04 +00:00
Daniel Shahaf
c392e6c620
39915: whence: Honor PATH_DIRS option for arguments that start with './' or '../'.
...
While here, add some docstrings.
2016-11-17 15:28:42 +00:00
Oliver Kiddle
0a6098a1d4
39962: bind vi case conversion widgets
...
u/U in visual mode and g~ from normal mode
2016-11-17 12:32:28 +01:00
Oliver Kiddle
48bdcd7713
39959: when repeating vi changes advance through the numbered killring registers
...
Also fix numeric arguments with vi-repeat-change: and argument passed
to the repeat replaces that previously saved with the change.
2016-11-17 12:28:08 +01:00
Oliver Kiddle
6d991ce177
39952: add registers special parameter to provide access to the vi register buffers from a zle widget function
2016-11-17 12:27:52 +01:00