1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00
Commit graph

10062 commits

Author SHA1 Message Date
Barton E. Schaefer
eaeebeb8bb unposted: minor formatting: var() instead of tt(). 2017-04-01 15:23:43 -07:00
Sebastian Gniazdowski
967ff2f5cf * 40782: avoid dependency on zsh/regex module 2017-04-01 09:43:34 -07:00
Dag-Erling Smørgrav
4850116554 Fix typo breaking kld completion 2017-03-30 12:18:26 +01:00
Sebastian Gniazdowski
5aec3f9742 40909: Stress test for parameter substitution 2017-03-30 12:16:24 +01:00
Peter Stephenson
5a895a5260 40906: Add note on use of (k) parameter subst flag.
KSH_ARRAYS generlly requires [*] or [@] to operate on the whole
array and this is true here.
2017-03-27 11:57:50 +01:00
Alexandre Rames
fc1fedda95 40878: additional stgit squash command completeion 2017-03-24 16:42:51 +00:00
Aaron Schrab
7fc15db684 40892: subcommand matching for ip help 2017-03-24 09:46:03 +00:00
Peter Stephenson
e78ec8610d 40891: fix more zero-length matches.
This time at the end of the trial string.
2017-03-23 21:01:59 +00:00
Peter Stephenson
086656241c 22601: Fix for parameter substitution pattern matches.
It was not possible to math against a zero-length string in
some cases.
2017-03-23 09:35:20 +00:00
Peter Stephenson
20d464944b 40875: Update REC_EXACT description, suggested by Martin Krafft 2017-03-21 09:59:15 +00:00
Peter Stephenson
27a55d8591 Improve comment at top of GDBM test 2017-03-21 09:57:00 +00:00
Daniel Shahaf
b627c251a4 unposted (after 40859): Fix yodl warning:
makeinfo ./zsh.texi
    ./zsh.texi:36246: Next field of node `vcs_info Examples' not pointed to (perhaps incorrect sectioning?).
    ./zsh.texi:36419: This node (Prompt Themes) has the bad Prev.

Seen with yodl 3.00.00 but not with 3.04.00.
2017-03-20 18:52:09 +00:00
Daniel Shahaf
10220628e7 40859: vcs_info docs: Use proper internal links through texinfo nodes.
Changes:

- Add texinode()'s
- Replace 'see foo' with 'see noderef(foo)'

Drive-by changes:

- Fix one reference to a nonexistent "Styles" section
- (minor) Fix whitespace around "once"
2017-03-19 17:18:04 +00:00
Daniel Shahaf
f3ae40f8aa unposted: vcs_info quilt: Fix documentation markup typo. 2017-03-18 00:55:27 +00:00
Daniel Shahaf
072e75f9b8 40855: _dmidecode: Fix _arguments syntax error. 2017-03-16 10:42:26 +00:00
Oliver Kiddle
7c662bf4d2 40843: update options for ruby 2.4.0p0 2017-03-14 16:15:33 +01:00
Oliver Kiddle
45d910356a 40842: update completions for coreutils and similar utilities, also improving BSD and Solaris support 2017-03-14 16:13:05 +01:00
Daniel Shahaf
e869952200 40818: _git-checkout: When completing local heads, prefer recently-checked-out ones. (after 38592) 2017-03-14 11:14:14 +00:00
Daniel Shahaf
46233c4020 40817: __git_recent_branches: Retrieve less data, but faster.
By replacing the --grep-reflog=needle argument with a ${(M)...:#needle} filter,
we retrieve less data from the reflog, and consequently run (on my test cases)
16% to 40% faster.  The trade-off is that we retrieve less data: instead of
retrieving the 1000 most recent 'checkout' operations, we retrieve the most
recent 1000 operations, which would include fewer than 1000 checkout operations.

Also change [[:xdigit:]] to [0-9a-f] since it's faster, however, the absolute
gain from this is minor compared to the cost of 'git reflog'.
2017-03-14 11:14:13 +00:00
Daniel Shahaf
56ef4f62c4 40822: vcs_info quilt: Document the '.quilt-foo' zstyle context element. (Compare users/20807.) 2017-03-14 11:14:12 +00:00
Wieland Hoffmann
5fa422b246 40837: for pgrep completion, add -w on Linux 2017-03-12 22:35:20 +01:00
Daniel Shahaf
d044530afd 40816: Document interaction of 'print -P' and 'print -f'. 2017-03-12 19:37:18 +00:00
Jun-ichi Takimoto
2ff71e84ba 40820: add a few tests of strftime, related to 40681 2017-03-12 21:04:22 +09:00
Barton E. Schaefer
420fc41b7c 40832: fix $x:P when PWD=/ 2017-03-11 14:40:12 -08:00
John Leuenhagen
5da6621ffe unposted (github pull request #15): fix a small typo in ip corrections file 2017-03-11 08:35:20 +00:00
Oliver Kiddle
f862882f82 40824: grep completion handling of option deviations between different systems 2017-03-10 17:38:31 +01:00
Oliver Kiddle
373ad33f44 40823: update option completion for sshfs 2.8 2017-03-10 16:54:21 +01:00
Peter Stephenson
adab02817f 40819: Fix IS_DASH test in BRACE_CCL handling 2017-03-10 10:43:25 +00:00
Jun-ichi Takimoto
c09af3516f unposted: declare file local variables as static 2017-03-10 18:44:41 +09:00
Jun-ichi Takimoto
4d7b34c5f3 unposted: silence warnings on Cygwin
On Cygwin, h_name in struct hostent is 'const char*'
2017-03-10 18:41:25 +09:00
Fabian Klotzl
7276d04934 40808: fix typos where (x,y) should have been (x y) in _arguments syntax 2017-03-09 20:29:27 -08:00
Barton E. Schaefer
9f49864322 40801: re-fix completion of mount points with spaces in the name
Turns out that work of art removed by 33963 was necessary after all
2017-03-09 20:29:27 -08:00
Peter Stephenson
018992123e 40803, 40804, 40805, 40806: Parameter test additions.
Potentially dodgy string for ${(z)...} splitting from Sebastian.

Check that $- and ${-} produce plausible results.
2017-03-09 12:18:54 +00:00
Peter Stephenson
64559abc1f 40796: MAGIC_EQUAL_SUBST not needed with parsed assignment.
If typeset family builtins are recognised as keywords then the value
is handled as a separate expansion and we don't need the old
magic behaviour, even if the option is set.
2017-03-09 09:52:23 +00:00
Barton E. Schaefer
c93f29b52d 40799: fix $- expansion partly broken by 40760 2017-03-08 21:33:25 -08:00
Barton E. Schaefer
071017965f 40763: count wide characters and Cmatcher pointers more sanely in cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync
Might not fix wide-char matching in completion matcher-lists but should
avoid wild pointer crash
2017-03-08 21:26:55 -08:00
Daniel Shahaf
67d882479b 40745 + 40753: Fix 'unset ZLE_RPROMPT_INDENT' not restoring the default behaviour.
To reproduce:

    RPS1=foo
    ZLE_RPROMPT_INDENT=42
    unset ZLE_RPROMPT_INDENT
2017-03-08 10:04:44 +00:00
Daniel Shahaf
a5482971b7 40744: Document the SHORT_LOOPS 'function' syntax.
It's already mentioned in passing in zshoptions(1).
2017-03-08 10:04:34 +00:00
Sebastian Gniazdowski
6f25cbae04 40706: Fix ordering dependence in gdbm test 2017-03-07 10:55:20 +00:00
Peter Stephenson
f3f8537cfa 40760: Always tokenize unquoted - to Dash.
This fixes use of pattern match character ranges in unusual contexts.

Attempt to detect a tokenized - in cases where we don't care.
2017-03-07 10:43:58 +00:00
Mikael Magnusson
a8345a40b1 40780: Don't use =~ for simple prefix match 2017-03-07 03:20:05 +01:00
Sebastian Gniazdowski
23275fc8db 40726: add "zcurses resize" for sane terminal size change 2017-03-05 11:25:38 -08:00
Sebastian Gniazdowski
8522e996ec 40781: optimize array assignment, similar to 39995 for string assignment 2017-03-04 15:35:19 -08:00
Barton E. Schaefer
5e61eaf855 40654: exit cleanly from special POSIXBUILTINS in subshells
This patch overloads the zsh_subshell counter which is meant for $ZSH_SUBSHELL, but no one has suggested a working alternate test.
2017-03-04 15:25:17 -08:00
Christoffer Aasted
b8b5f18f3f unposted (via github): complete -Dproperty=/path_complete for ant 2017-03-04 09:31:31 +01:00
Ferenc-
76f2539e20 unposted (via github): Add newer C++ standard options to _gcc 2017-03-04 09:23:11 +01:00
Oliver Kiddle
929fa17a2f unposted: complete 'tiled' layout for tmux 2017-03-04 01:13:43 +01:00
Oliver Kiddle
cae214551b unposted: fix completion argument to xz --format 2017-03-04 01:05:51 +01:00
Oliver Kiddle
76a033e2cc 40715: update completion of git options for git 2.12.0 2017-03-04 00:37:04 +01:00
Oliver Kiddle
7fd62f4367 40597: be flexible about order of options to _values 2017-03-04 00:33:20 +01:00