summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-07-08gitlab !15: modutils completion: Fix FHS assumptionDoron Behar2-3/+23
Remove calls to programs from /sbin/ with _call_program and to avoid the system complies to the FHS. Support modules completion for NixOS and Guix which store their kernel modules not at /lib/modules.
2020-07-0846201: add guidelines for caching and use of imperative mood in descriptionsOliver Kiddle2-4/+24
2020-07-0846195: use showrgb command to get colours if it is availableOliver Kiddle2-5/+11
2020-07-08github #50: Complete hosts in "Match" directiveSATOH Fumiyasu2-0/+15
2020-07-08github #53: Allow specifying directory name for _remote_filesJames Pike2-5/+17
2020-07-0746189: Ignore exit status of final zpty_flush in comptestevalBart Schaefer2-0/+5
2020-07-07github #58: docs: Note that the zsh/regex syntax is platform-dependent.Nuri Jung2-0/+17
2020-07-0646194: docs: metafaq: Remove spurious closing bracketPete Moore2-1/+5
2020-07-0546175/0003: Fix the RM_STAR_SILENT bug from the parent commit.Daniel Shahaf3-2/+5
2020-07-0546175/0002: Add a regression test for 46169: the RM_STAR_SILENT logic ↵Daniel Shahaf2-2/+8
processes the current directory rather than the root directory. The bug will be fixed in the next commit.
2020-07-0546175/0001: Add a unit test for the RM_STAR_SILENT option.Daniel Shahaf2-1/+29
2020-07-0546174/0002: test harness: Restore indentation after the previous commit. No ↵Daniel Shahaf2-18/+21
functional change.
2020-07-0546174/0001: test harness: Plug a symlink attackDaniel Shahaf2-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.
2020-07-0346168: Update $PWD and call chpwd hook after normalizing pathMatthew Martin3-19/+40
2020-07-03unposted (cf. users/24972, users/24978): Use an ASCII hyphen/minus rather ↵Daniel Shahaf2-3/+8
than a dash.
2020-07-03users/24971: ${(-)var} sorts on signed integersPeter Stephenson6-12/+49
2020-06-30Upload to unstable as 5.8-5Axel Beckert1-0/+21
2020-06-30Update lintian overrides wrt. renamed lintian tagsAxel Beckert3-3/+3
2020-06-30Cherry-pick 754658af from upstream to fix "git stash drop" tab-completionAxel Beckert2-0/+23
See https://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=46093 ff. This is the upstream commit without the changes to upstream Changelog file.
2020-06-2846097: Fix "assignment to invalid subscript range" error in _rm.zsugabubus2-1/+6
See 46090 for details.
2020-06-2846132: docs: Use an itemized list in the documentation of the *(o) glob ↵Daniel Shahaf2-10/+21
qualifier. This should be easier to read, both as a tutorial and as a reference.
2020-06-2846131: _git-config: Partly fix a bug whereby a 'foo.ba<TAB>' wouldn't be ↵Daniel Shahaf2-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.
2020-06-2846128: _git: Complete more options and diff/merge tools.Daniel Shahaf2-2/+30
2020-06-2846129: _git-config: Fix a bug where a second trailing dot would be ↵Daniel Shahaf2-5/+4
incorrectly offered.
2020-06-2846130: _git-config: Complete some more options.Daniel Shahaf2-25/+73
2020-06-2746140: _git: Fix insufficiently quoted patternMiroslav Koškár2-1/+4
2020-06-2746139: _git: Remove hanging whitespacesMiroslav Koškár2-2/+6
2020-06-27unposted (after 46068): Fix a compiler warning.Daniel Shahaf2-1/+4
The warning was: . warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
2020-06-2746072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve ↵Daniel Shahaf6-7/+42
add-zle-hook-widget support for multiple hook functions. See workers/46004 for the use-case.
2020-06-27users/24959/0002: Update aliases documentation for the addition of the ↵Daniel Shahaf2-20/+8
ALIAS_FUNC_DEF option.
2020-06-27users/24959/0001: Extend documentation of global aliases.Daniel Shahaf3-1/+21
2020-06-26unposted: docs: Fix some markup and typos.Daniel Shahaf5-6/+12
2020-06-2646100: Fix =subst before =(subst)Peter Stephenson3-1/+10
This occurs with SH file expansion ordering. Add test.
2020-06-26unposted c.f. 46034: workaround incompatibility with sh_file_expansion optionOliver Kiddle2-1/+4
2020-06-2646106: new usbconfig completionOliver Kiddle2-0/+67
2020-06-2646105: new xinput completionOliver Kiddle1-0/+140
2020-06-2646075: drelo: prefer ip on linux for finding network interfacesdrelo2-3/+12
2020-06-2645895: ignore deduplication patterns in _sequenceoxiedi3-2/+17
2020-06-2546068 (tweaked) (was: github #57): region_highlight: Add memo= support.Daniel Shahaf8-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.)
2020-06-2546102: test harness: Make the XPass message distinct from the Fail message.Daniel Shahaf2-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.
2020-06-23Cherry-pick d128bc0b from upstream: 45731: _debsnap: New completion functionDaniel Shahaf2-0/+88
Closes: #960298
2020-06-2346079: Ignore double quotes in math expressions.Peter Stephenson3-2/+15
Treat as white space. This is required for compatibility and previously had no use in zsh as it generated an error.
2020-06-2246091: Add code to Mercurial VCS backend to show topic if there is any.Manuel Jacob3-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.
2020-06-22Bump debhelper compatibility level to 13Axel Beckert1-1/+1
2020-06-22Add a minimal debian/salsa-ci.yml fileAxel Beckert1-0/+3
2020-06-22Try to fix cross-installability of run-testsuite autopkgtest checkAxel Beckert1-1/+1
Switch run-testsuite test dependencies from @builddeps@ to all library *-dev packages listed in the the build-dependencies (and hence the libraries listed in the Recommends of the zsh binary package) for regaining cross-buildability. This further improves what has been started in commits ca933173 and 7ca6cb3f. And it should resolve the reason for current diff in Ubuntu: https://patches.ubuntu.com/z/zsh/zsh_5.8-4ubuntu1.patch
2020-06-22Adapt to "col" having been moved from bsdmainutils to bsdextrautilsAxel Beckert1-1/+1
Closes: #963420
2020-06-1946044 (tweaked per Matthew): _units: Correct the path to the units data file ↵Daniel Shahaf2-2/+10
on Debian with units 2.00 and newer and on FreeBSD.
2020-06-1846067: Add a unit test for workers/46060.Daniel Shahaf2-0/+12
2020-06-1846060: Fix spurious actions on exit status 130 or 131.Peter Stephenson2-4/+12
Ensure process has taken a signal before looking for SIGINT or SIGQUIT.