Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | github #50: Complete hosts in "Match" directive | SATOH Fumiyasu | 2020-07-08 | 2 | -0/+15 | |
| | ||||||
* | github #53: Allow specifying directory name for _remote_files | James Pike | 2020-07-08 | 2 | -5/+17 | |
| | ||||||
* | 46189: Ignore exit status of final zpty_flush in comptesteval | Bart Schaefer | 2020-07-07 | 2 | -0/+5 | |
| | ||||||
* | github #58: docs: Note that the zsh/regex syntax is platform-dependent. | Nuri Jung | 2020-07-07 | 2 | -0/+17 | |
| | ||||||
* | 46194: docs: metafaq: Remove spurious closing bracket | Pete Moore | 2020-07-06 | 2 | -1/+5 | |
| | ||||||
* | 46175/0003: Fix the RM_STAR_SILENT bug from the parent commit. | Daniel Shahaf | 2020-07-05 | 3 | -2/+5 | |
| | ||||||
* | 46175/0002: Add a regression test for 46169: the RM_STAR_SILENT logic ↵ | Daniel Shahaf | 2020-07-05 | 2 | -2/+8 | |
| | | | | | | processes the current directory rather than the root directory. The bug will be fixed in the next commit. | |||||
* | 46175/0001: Add a unit test for the RM_STAR_SILENT option. | Daniel Shahaf | 2020-07-05 | 2 | -1/+29 | |
| | ||||||
* | 46174/0002: test harness: Restore indentation after the previous commit. No ↵ | Daniel Shahaf | 2020-07-05 | 2 | -18/+21 | |
| | | | | functional change. | |||||
* | 46174/0001: test harness: Plug a symlink attack | Daniel Shahaf | 2020-07-05 | 2 | -2/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The test harness created tempfiles with a predictable names and sourced them without verifying they had been created by itself. This opened anyone who ran the test suite to a symlink attacks from other local users on the build machine. Fix this by creating the file whilst NO_CLOBBER and ERR_EXIT are both in scope, to ensure that we'll abort unless the file really was created as expected. Put the existing rm(1) call in a try/always block to help it be unlinked on test failures, thus reducing the chances of the NO_CLOBBER check triggering on tempfiles created by earlier test suite runs. I had first tried to fix this by using the . () { ... } =(:) . idiom, but couldn't get that to work: it broke the %prep code of X03 with ZTST_verbose unset (its default value) but not with ZTST_verbose=3. (I tried to set the latter to debug zpty_flush.) While there, add a needed-in-principle-but-noop-in-this-specific-case (q). Indentation will be restored in the next commit. | |||||
* | 46168: Update $PWD and call chpwd hook after normalizing path | Matthew Martin | 2020-07-03 | 3 | -19/+40 | |
| | ||||||
* | unposted (cf. users/24972, users/24978): Use an ASCII hyphen/minus rather ↵ | Daniel Shahaf | 2020-07-03 | 2 | -3/+8 | |
| | | | | than a dash. | |||||
* | users/24971: ${(-)var} sorts on signed integers | Peter Stephenson | 2020-07-03 | 6 | -12/+49 | |
| | ||||||
* | 46097: Fix "assignment to invalid subscript range" error in _rm. | zsugabubus | 2020-06-28 | 2 | -1/+6 | |
| | | | | See 46090 for details. | |||||
* | 46132: docs: Use an itemized list in the documentation of the *(o) glob ↵ | Daniel Shahaf | 2020-06-28 | 2 | -10/+21 | |
| | | | | | | qualifier. This should be easier to read, both as a tutorial and as a reference. | |||||
* | 46131: _git-config: Partly fix a bug whereby a 'foo.ba<TAB>' wouldn't be ↵ | Daniel Shahaf | 2020-06-28 | 2 | -2/+7 | |
| | | | | | | | | | completed to 'foo.bar.baz'. Now it properly gets completed, but in the case of gpg.openpgp.program, the description would be shown as "unknown option name", that being the description of gpg.*.program via `git help -c`, which shadows the more description of gpg.openpgp.program in $git_options. | |||||
* | 46128: _git: Complete more options and diff/merge tools. | Daniel Shahaf | 2020-06-28 | 2 | -2/+30 | |
| | ||||||
* | 46129: _git-config: Fix a bug where a second trailing dot would be ↵ | Daniel Shahaf | 2020-06-28 | 2 | -5/+4 | |
| | | | | incorrectly offered. | |||||
* | 46130: _git-config: Complete some more options. | Daniel Shahaf | 2020-06-28 | 2 | -25/+73 | |
| | ||||||
* | 46140: _git: Fix insufficiently quoted pattern | Miroslav Koškár | 2020-06-27 | 2 | -1/+4 | |
| | ||||||
* | 46139: _git: Remove hanging whitespaces | Miroslav Koškár | 2020-06-27 | 2 | -2/+6 | |
| | ||||||
* | unposted (after 46068): Fix a compiler warning. | Daniel Shahaf | 2020-06-27 | 2 | -1/+4 | |
| | | | | | | | The warning was: . warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |||||
* | 46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve ↵ | Daniel Shahaf | 2020-06-27 | 6 | -7/+42 | |
| | | | | | | add-zle-hook-widget support for multiple hook functions. See workers/46004 for the use-case. | |||||
* | users/24959/0002: Update aliases documentation for the addition of the ↵ | Daniel Shahaf | 2020-06-27 | 2 | -20/+8 | |
| | | | | ALIAS_FUNC_DEF option. | |||||
* | users/24959/0001: Extend documentation of global aliases. | Daniel Shahaf | 2020-06-27 | 3 | -1/+21 | |
| | ||||||
* | unposted: docs: Fix some markup and typos. | Daniel Shahaf | 2020-06-26 | 5 | -6/+12 | |
| | ||||||
* | 46100: Fix =subst before =(subst) | Peter Stephenson | 2020-06-26 | 3 | -1/+10 | |
| | | | | | | This occurs with SH file expansion ordering. Add test. | |||||
* | unposted c.f. 46034: workaround incompatibility with sh_file_expansion option | Oliver Kiddle | 2020-06-26 | 2 | -1/+4 | |
| | ||||||
* | 46106: new usbconfig completion | Oliver Kiddle | 2020-06-26 | 2 | -0/+67 | |
| | ||||||
* | 46105: new xinput completion | Oliver Kiddle | 2020-06-26 | 1 | -0/+140 | |
| | ||||||
* | 46075: drelo: prefer ip on linux for finding network interfaces | drelo | 2020-06-26 | 2 | -3/+12 | |
| | ||||||
* | 45895: ignore deduplication patterns in _sequence | oxiedi | 2020-06-26 | 3 | -2/+17 | |
| | ||||||
* | 46068 (tweaked) (was: github #57): region_highlight: Add memo= support. | Daniel Shahaf | 2020-06-25 | 8 | -17/+173 | |
| | | | | | | | | | | | | | | | | This is useful when multiple plugins add region_highlight entries and subsequently want to remove only their own entries. Without this functionality, recognizing one's region_highlight entries is not trivial because the 'start' and 'end' offsets are modified by editing of $BUFFER and the highlight specification may not be unique or distinctive. The tweaks are as follows: - Change zfree() to zsfree() per workers/46070. - Remove the mem.c hunk, as it changed the signature of only one out of two alternative definitions of zsfree(). (The definition that hunk touched is the one that's not used by default.) | |||||
* | 46102: test harness: Make the XPass message distinct from the Fail message. | Daniel Shahaf | 2020-06-25 | 2 | -1/+19 | |
| | | | | | | | | | | | | | | | | | The new output is: ./Test/B02typeset.ztst: starting. Test ./Test/B02typeset.ztst was expected to fail, but passed. Was testing: this is the description that's after the colon on in the ztst file ./Test/B02typeset.ztst: test XPassed. ************************************** 0 successful test scripts, 1 failure, 0 skipped ************************************** make[1]: *** [Makefile:190: check] Error 1 make: *** [Makefile:263: check] Error 2 The new function is deliberately very similar to ZTST_testfailed() just above it. | |||||
* | 46079: Ignore double quotes in math expressions. | Peter Stephenson | 2020-06-23 | 3 | -2/+15 | |
| | | | | | | | Treat as white space. This is required for compatibility and previously had no use in zsh as it generated an error. | |||||
* | 46091: Add code to Mercurial VCS backend to show topic if there is any. | Manuel Jacob | 2020-06-22 | 3 | -2/+18 | |
| | | | | | | | | "Topics" is an experimental concept in Mercurial that augments the current branching concept (called "named branches"). For more information, see the not always up-to-date Mercurial Wiki page https://www.mercurial-scm.org/wiki/TopicPlan. | |||||
* | 46044 (tweaked per Matthew): _units: Correct the path to the units data file ↵ | Daniel Shahaf | 2020-06-19 | 2 | -2/+10 | |
| | | | | on Debian with units 2.00 and newer and on FreeBSD. | |||||
* | 46067: Add a unit test for workers/46060. | Daniel Shahaf | 2020-06-18 | 2 | -0/+12 | |
| | ||||||
* | 46060: Fix spurious actions on exit status 130 or 131. | Peter Stephenson | 2020-06-18 | 2 | -4/+12 | |
| | | | | Ensure process has taken a signal before looking for SIGINT or SIGQUIT. | |||||
* | 45982: _zfs: add space property | Frederick Zhang | 2020-06-17 | 2 | -1/+6 | |
| | ||||||
* | unposted: internal: ztst.vim: Recognize empty "F:" line as well, as the test ↵ | Daniel Shahaf | 2020-06-17 | 2 | -1/+6 | |
| | | | | harness does. | |||||
* | 46049: docs: Correct the sense of the single-letter abstract of the ↵ | Miroslav Koškár | 2020-06-17 | 2 | -1/+6 | |
| | | | | GLOBAL_RCS option (-d) | |||||
* | gitlab !12: completion for mat & mat2 | Jan Máslo | 2020-06-11 | 3 | -0/+41 | |
| | ||||||
* | 46036: fix colouring in prompt completion | Oliver Kiddle | 2020-06-11 | 2 | -3/+6 | |
| | ||||||
* | users/24892: fix local declaration with recursive-files style and complete ↵ | Oliver Kiddle | 2020-06-11 | 3 | -5/+13 | |
| | | | | it for zstyle | |||||
* | unposted: zstyle docs: Fix typo. | Daniel Shahaf | 2020-06-10 | 2 | -1/+5 | |
| | | | | | | This manifested as a trailing non-underlined ".RE" in the rendered man page. (I guess that was a man page directive, but I'm not sure how the extraneous closing parenthesis caused it to be rendered in the output.) | |||||
* | 46026: Add CLOBBER_EMPTY option. | Peter Stephenson | 2020-06-09 | 6 | -5/+59 | |
| | ||||||
* | unposted: Add 45400 (vared in subshells) plus remarks on users/24904. | Bart Schaefer | 2020-06-09 | 1 | -0/+9 | |
| | ||||||
* | users/24909: Don't clean up special file list too early. | Peter Stephenson | 2020-06-08 | 2 | -1/+6 | |
| | | | | | When running a function, remove special files used for substitution after the function has run rather than before. | |||||
* | gitlab !14 (fixup): modutils comp: Fix getting the value of kver from opt_args | Doron Behar | 2020-06-08 | 2 | -1/+6 | |
| |