1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00
Commit graph

11386 commits

Author SHA1 Message Date
Daniel Shahaf
8bd46bf2a2 46044 (tweaked per Matthew): _units: Correct the path to the units data file on Debian with units 2.00 and newer and on FreeBSD. 2020-06-19 15:32:34 +00:00
Daniel Shahaf
6be112fe74 46067: Add a unit test for workers/46060. 2020-06-18 10:34:11 +00:00
Peter Stephenson
baf4fa3621 46060: Fix spurious actions on exit status 130 or 131.
Ensure process has taken a signal before looking for SIGINT or SIGQUIT.
2020-06-18 09:27:05 +01:00
Frederick Zhang
1939db10af 45982: _zfs: add space property 2020-06-17 09:59:58 -04:00
Daniel Shahaf
14513e6ef3 unposted: internal: ztst.vim: Recognize empty "F:" line as well, as the test harness does. 2020-06-17 09:37:50 +00:00
Miroslav Koškár
33361e81bc 46049: docs: Correct the sense of the single-letter abstract of the GLOBAL_RCS option (-d) 2020-06-17 08:13:51 +00:00
Jan Máslo
dc5dfd19a2 gitlab !12: completion for mat & mat2 2020-06-11 22:46:49 +02:00
Oliver Kiddle
1ee8ecd8ea 46036: fix colouring in prompt completion 2020-06-11 22:34:41 +02:00
Oliver Kiddle
cce88bdb0c users/24892: fix local declaration with recursive-files style and complete it for zstyle 2020-06-11 22:31:44 +02:00
Daniel Shahaf
c5f12fb732 unposted: zstyle docs: Fix typo.
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.)
2020-06-10 13:07:56 +00:00
Peter Stephenson
3df604a4be 46026: Add CLOBBER_EMPTY option. 2020-06-09 18:07:01 +01:00
Bart Schaefer
172b646a6b unposted: Add 45400 (vared in subshells) plus remarks on users/24904. 2020-06-09 08:52:56 -07:00
Peter Stephenson
d7e90f1c7c users/24909: Don't clean up special file list too early.
When running a function, remove special files used for substitution
after the function has run rather than before.
2020-06-08 20:52:53 +01:00
Doron Behar
aa7b62e3fa gitlab !14 (fixup): modutils comp: Fix getting the value of kver from opt_args 2020-06-08 06:23:05 +00:00
Daniel Shahaf
f297132cf0 45932: FAQ (3.1): Update ksh compatibility answer for reserved word typeset. 2020-06-07 01:10:59 +00:00
Daniel Shahaf
43a7e70dad 45933: FAQ: Add "Why does my bash script report an error when I run it under zsh?". 2020-06-07 01:10:59 +00:00
Daniel Shahaf
d3cc1fd33c 45791 (tweaked): FAQ: Explain how to binary search one's dotfiles 2020-06-07 01:08:53 +00:00
Daniel Shahaf
aa58afd68f unposted: FAQ: Update section number in links to the "The future of zsh" section. 2020-06-07 01:06:12 +00:00
Daniel Shahaf
4034e702e6 unposted: Add users/24904 to Etc/BUGS (a process substitution / forking issue). 2020-06-06 01:01:12 +00:00
Mikael Magnusson
ed23768f77 typeset: Fix leaving corrupted entries in paramtab 2020-06-05 15:42:31 +02:00
Yasuhiro KIMURA
a44f44d6e6 45950: Fix 'make install' in out-of-tree tarball builds.
See workers/45936 for the failure mode and workers/45943 for an earlier
revision of the patch.
2020-06-03 01:15:22 +00:00
Matthew Martin
c479107f70 45940: Add _kdump and _ktrace completers and supporting _ktrace_points type 2020-06-01 21:18:25 -05:00
Matthew Martin
7ec05332a2 45939: Add _pgids type 2020-06-01 21:18:23 -05:00
Doron Behar
56fffd5482 gitlab !14: modutils completion: Fix getting the value of kver from opt_args
To get the _value_ of either of the options -S, -k or --set-version,
the (i) subscript flag is not needed.
2020-06-01 08:21:39 +00:00
Bart Schaefer
94e38548e3 45915: fix handling of hyphens in spckword() 2020-05-30 14:31:10 -07:00
Yasuhiro KIMURA
911500d3be 45934: _subversion: Make 'svnliteadmin' completed same as 'svnadmin'
In FreeBSD base system svnadmin is installed as 'svnliteadmin'. So
make 'svnliteadmin' completed same as 'svnadmin'.
2020-05-28 21:53:21 +00:00
Daniel Shahaf
c05ff07d9f unposted: zyodl.vim: Highlight the word "note", like ft=help does. 2020-05-28 19:42:16 +00:00
Daniel Shahaf
8b32df6d4c unposted: zyodl.vim: Highlight yodl continuation line marker 2020-05-28 19:42:16 +00:00
Daniel Shahaf
fb1aa3fe1e 45923 (with memory leak fixed, cf. 45924): zprof: Don't tally all anonymous functions as though they were a single function named "(anon)".
Before:

    % zmodload zsh/zprof
    % () :
    % () :
    % zprof
    num  calls                time                       self            name
    -----------------------------------------------------------------------------------
     1)    2           0.08     0.04  100.00%      0.08     0.04  100.00%  (anon)

After:

    % zmodload zsh/zprof
    % () :
    % () :
    % zprof
    num  calls                time                       self            name
    -----------------------------------------------------------------------------------
     1)    1           0.04     0.04   50.45%      0.04     0.04   50.45%  (anon) [:3]
     2)    1           0.04     0.04   49.55%      0.04     0.04   49.55%  (anon) [:2]
2020-05-28 19:40:40 +00:00
Peter Stephenson
40723b3991 45900: Fix issues with escaped newline in $-substitution. 2020-05-23 18:01:26 +01:00
Daniel Shahaf
b3148194d1 45884 (Oliver's, edited by me): Add a few entries. 2020-05-21 16:44:26 +00:00
Daniel Shahaf
c7da34dd71 45862: Add test cases for 45843#1 and 45843#2, adapted from Aaron Esau and pws. 2020-05-20 00:48:41 +00:00
Eitan Adler
c528c27ade unposted: fix date of previous commit 2020-05-17 17:06:04 -07:00
Eitan Adler
1beaa8413e unposted: bump config.guess and config.sub
Problem

config.guess and config.sub are out of dated reducing cross-platform
compatibly.

Solution

Update them.
2020-05-17 16:16:19 -07:00
Bart Schaefer
086acd095d unposted: remove blank line that messed up "man" formatting 2020-05-17 13:31:51 -07:00
Matthew Martin
53052335b9 45831: Add _vi completer 2020-05-17 15:18:26 -05:00
Daniel Shahaf
7c2a740d0f users/24843: zshcompsys(1): Point to the 'format' style from the 'tag-order' style. 2020-05-16 22:08:57 +00:00
Mikael Magnusson
06c0a39895 unposted: Add tests for previous commit 2020-05-12 15:58:41 +02:00
Mikael Magnusson
817d461932 Support ${name:offset:length} with an empty offset 2020-05-12 10:13:02 +02:00
noraj
494f6bcb3c gitlab !13: tar supports zstandard (zstd)
Problem

Variants of tar based on libarchive or GNU tar can support extracting
zstd based files.

Solution

Add this type of to _tar_archive.

From noraj <gitlab@mg.gitlab.com>
2020-05-09 18:59:03 -07:00
Eitan Adler
d9ad7e6b89 unposted: libarchive tar can extract zip files
Problem

Variants of tar based on libarchive can extract zip files but
`tar xf <tab>` does not complete this type of file.

Solution

Add this type of to _tar_archive.
2020-05-07 20:03:39 -07:00
Daniel Shahaf
8498f8864e unposted: Use alternation patterns rather than brace expansion
(Cf. discussion on GitLab !12.)
2020-05-07 22:23:26 +00:00
Daniel Shahaf
ab835f0c37 45764: Add a regression test for 45772. Test by Roman 2020-05-05 21:15:54 +00:00
Peter Stephenson
c486040220 45772: Restore locale on parameter scope end.
Check if relevant parameters changes and if so restore system settings.
2020-05-05 20:28:31 +01:00
Daniel Shahaf
455c80e4bb unposted: Fix typo in ChangeLog 2020-05-04 20:54:06 +00:00
Jun-ichi Takimoto
b87b7f367c unposted: add a comment about how to add a new resource 2020-05-03 18:38:36 +09:00
Jun-ichi Takimoto
0e6ccfdb2b 45614: update _dnf 2020-05-03 18:28:34 +09:00
Daniel Shahaf
d128bc0bd4 45731: _debsnap: New completion function. 2020-05-03 01:29:05 +00:00
Daniel Shahaf
deca7c9285 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely.
Also, write/extend docstrings for sepjoin() and zjoin().
2020-05-03 01:27:36 +00:00
Daniel Shahaf
4d2bcf2fe7 45729: internal: Add a second parameter to zlinklist2array(), analogously to hlinklist2array().
Will be used in the next commit.
2020-05-03 01:27:36 +00:00