Peter Stephenson
39521515c3
39867, tweaked: Use cast to unsigned char to test character.
...
We want the unsigned variant to be <= 0x7f. Use the normal STOUC()
macro and turn this into a single test.
2016-11-08 10:09:26 +00:00
Peter Stephenson
5411cdf378
39856: module completion improvements.
...
Follow symbolic links when finding.
Use _multi_parts for paths when completing modules.
2016-11-07 14:49:00 +00:00
Jun-ichi Takimoto
0921a3537a
39855: new completion for jot command
2016-11-07 19:29:52 +09:00
Peter Stephenson
33b3489092
zsh-users/22083: attempt to explain what a word is in parameter substitution.
2016-11-07 10:04:14 +00:00
Daniel Shahaf
bb28726fa5
39840: _cpio: Declare variable's type correctly.
2016-11-07 05:21:19 +00:00
Daniel Shahaf
7e406125cd
unposted: ChangeLog typo
2016-11-07 05:19:35 +00:00
Jun-ichi Takimoto
f912e83505
39728: define _GNU_SOURCE on Cygwin
2016-11-07 11:36:17 +09:00
Frank Terbeck
06bd2b1c85
39849: _tmux: Remove set-remain-on exit
...
This was removed recently, since it was superseded by hooks.
2016-11-07 00:04:07 +01:00
Frank Terbeck
c2649189cb
39848: _tmux: Update options to latest tmux
2016-11-06 23:18:28 +01:00
Frank Terbeck
02fe884a11
39847: Update helper function name pattern
...
In 580698bc71
, Oliver updated a whole bunch of options in a number of
completions. While at it, he also changed a bit of coding style, to
better adhere to Etc/zsh-development-guide — among those changes is to
convert "function foobar() {" function definitions to "foobar() {".
This broke Util/check-tmux-state so that it couldn't detect any
supported tmux sub-commands within _tmux anymore. This updates the
regular expression that is used in the script to match and list these
function definitions.
2016-11-06 23:18:28 +01:00
Barton E. Schaefer
c282abc6bd
Thomas Bereknyei, Mic92: 39831: find "getent" by the usual command search, not just /usr/bin/
...
Also tweak the replacement getent to handle /etc/hosts format.
2016-11-06 00:00:38 -07:00
Barton E. Schaefer
dee0bce7b4
unposted: tests for 39839, 39844
2016-11-05 21:37:23 -07:00
Barton E. Schaefer
ff36590910
39844: fix "while" condition as per 39839 (commit 2c56c7e5
)
2016-11-05 18:23:04 -07:00
Barton E. Schaefer
2c56c7e5e8
39839: fix "return" from "if" condition
2016-11-05 13:54:16 -07:00
Barton E. Schaefer
d91ffb1db2
39838: another missing unqueue_signals()
2016-11-05 13:49:07 -07:00
Oliver Kiddle
58ce2f119a
39829: when compstate[insert] is emptied by the completion function and AUTO_MENU is set, start menu completion on the second tab press rather than the third
2016-11-05 00:36:29 +01:00
Oliver Kiddle
5c28031ea6
39834: when print used with -v and -l, include a final newline
...
Also complete print -S option and make further use of the
new printf to an array feature in other completion functions.
2016-11-05 00:31:01 +01:00
Oliver Kiddle
4b41e33cbc
39389: when printf -v is used with an array use separate elements each time the format is reused
2016-11-05 00:27:47 +01:00
Daniel Shahaf
fe023d8bac
users/22080: bracketed-paste: Third time's a charm.
...
vi-set-buffer: Eliminate the sole use of the term "register".
2016-11-04 15:50:13 +00:00
Peter Stephenson
9c68ef083b
39825: optimise mb_metastrlenend() for 7-bit character.
...
As the shell relies intimately on US-ASCII as a subset we can
skip the multibyte functions if we are dealing with a complete
7-bit character.
2016-11-04 09:56:51 +00:00
Oliver Kiddle
6ea4e708ba
39818: _awk: add nawk to the list of commands
2016-11-04 10:02:33 +09:00
Barton E. Schaefer
22e1139328
39824: test case for 39811 (commit ae4c035c
)
2016-11-03 12:03:24 -07:00
Peter Stephenson
533d839384
unposted: comment explaining key buffer handling.
...
Describe putting back the tail end of the key buffer into
the input.
2016-11-03 17:03:37 +00:00
Daniel Shahaf
9d460a9d7f
39806: internal: Document zle's vichgbuf.
2016-11-03 16:44:14 +00:00
Daniel Shahaf
4ad1ad9777
39805: internal: Document some compadd internals.
2016-11-03 16:44:14 +00:00
Daniel Shahaf
b4d5a55b39
39804: internal: Document matchspec flags.
2016-11-03 16:44:14 +00:00
Daniel Shahaf
952e607395
39803: internal: Document bin_compadd().
2016-11-03 16:44:14 +00:00
Daniel Shahaf
36b290814f
39802: internal: Document and simplify multiquote().
...
The code simplifications take advantage of the fact that all callers
pass either 0 or 1 for 'ign'.
The tildequote() text is from workers/39271.
2016-11-03 16:44:14 +00:00
Daniel Shahaf
0e9faf67aa
users/22063: bracketed-paste: Document ability to specify a vi register. (after users/22036)
2016-11-03 16:44:14 +00:00
Barton E. Schaefer
ad085f1dec
unposted: fix typo that was causing handling of "--" argument to fail
2016-11-03 09:13:03 -07:00
Barton E. Schaefer
060ff48915
39820: vi-repeat handles multi-key bindings
2016-11-03 09:13:03 -07:00
Barton E. Schaefer
696444714e
39813: fix keybuflen after ungetting extra keys from the end of keybuf in getkeymapcmd().
2016-11-03 09:12:10 -07:00
Daniel Hahler
d90775fc29
39822: _git: remove "-A '-*'" with _arguments for some commands
...
With e.g. `git rebase origin/master` you can have options like
`--no-autosquash` after the argument.
I have tried the commands where this patch removes `-A`.
Commands like `git fetch-pack` that do not support options after
arguments are left unchanged.
2016-11-03 16:41:42 +01:00
Peter Stephenson
4073a6655c
39815: Read input to end on parse error in $(...) inside a string.
...
This allows ${(z)} to output the whole string, although we can't do
word splitting from the error onwards.
2016-11-03 10:30:00 +00:00
Barton E. Schaefer
ae4c035cde
39811: vi-repeat-change must not be the "motion" of vi-change, lest it infinitely repeat itself
2016-11-02 16:27:29 -07:00
Barton E. Schaefer
4bc0d13911
39797: obsolete the helper functions fixed by the previous two changes
...
Replacing them with the new ${var:P} modifier.
Previous deltas may be useful for backport to zsh 5.2 and before.
2016-11-01 12:45:24 -07:00
Jun-ichi Takimoto
4eed68e0bf
39731: _awk: add support for gawk ver.3 and 4
2016-11-01 19:21:05 +09:00
Daniel Shahaf
33ceb8b58f
39787: Add a regression test for 39412.
2016-11-01 05:48:55 +00:00
Barton E. Schaefer
0a5aea375d
39795: preserve "cd -" behavior around directory shuffling in _canonical_paths_pwd
2016-10-31 14:57:33 -07:00
Barton E. Schaefer
59dbab4f1c
39792: improve handling of relative paths in _canonical_paths_add_paths
2016-10-31 12:14:23 -07:00
Daniel Shahaf
74aa45910b
39786: vcs_info (hg): Use native hexdump implementation instead of external command.
...
Fixes issue whereby the external command would print "*" for repeated
octets.
Includes comment change, cf 39790.
2016-10-31 18:35:47 +00:00
Peter Stephenson
88c42a2ba0
39777: $() is a valid empty command substitution
2016-10-30 17:12:04 +00:00
Barton E. Schaefer
ab81b98c49
39758: revise 39704 for array and hash parameters; more POSIXBUITINS tweaks for
...
export
39704 was commit 0f5e670
, forgot to reference article number in that log.
"typeset -p" outputs "typeset" for array and hash parameters, even when
exported, because those types can be marked export but are never pushed
to the enviroment.
For POSIXBUILTINS, "export var" does not implicitly set $var, and its
export state is preserved when assigned (but not when explicitly unset).
2016-10-29 11:56:50 -07:00
Barton E. Schaefer
87c951c6bd
unposted: add "--" to zle widget call for conventional sanity
2016-10-29 10:08:53 -07:00
Daniel Shahaf
dd8b756610
_git-cherry-pick: Complete argv[2] et seq.
2016-10-29 03:03:28 +00:00
Barton E. Schaefer
9cfd26bf10
unposted: handle empty pastes and "zle bracketed-paste variablename" form.
2016-10-28 16:44:35 -07:00
Daniel Shahaf
3881c6b9a4
users/22036: bracketed-paste: Document cutbuffer behaviour; clarify.
2016-10-28 16:02:03 +00:00
Daniel Shahaf
5dbfbd8bd0
unposted: Minor documentation fixes (markup, grammar, etc).
2016-10-27 18:25:13 +00:00
Daniel Shahaf
85ffb55e99
39739: Complete negative integers for -n/-c in the GNU variant. (after 39479)
2016-10-27 15:59:43 +00:00
Barton E. Schaefer
12e862764f
unposted: mention former behavior of typeset for comparison
2016-10-26 20:50:51 -07:00