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

11265 commits

Author SHA1 Message Date
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
Daniel Shahaf
d800c38507 unposted: zyodl.vim: Use 'conceal' for some macros that expand to a single character. 2020-05-02 01:31:46 +00:00
Daniel Shahaf
34d69acbef 45737 (+ docs, and update the test from 45722): zstyle: When determining the weight (specificity) of a pattern, consider the number of components before anything else, as documented. 2020-05-02 01:12:07 +00:00
Daniel Shahaf
95adde8ddc unposted: Revert unintentional move from 45722. 2020-05-02 00:55:52 +00:00
Daniel Shahaf
7f73edad7a 45739: docs: Clarifications about zstyle patterns.
- Consistently use the term "pattern" rather than "context" or "style pattern"
- Correct statements about order of precedence of patterns
- Give the rationale for the "rule of thumb"
2020-05-02 00:51:26 +00:00
Daniel Shahaf
5d9f7975a9 45722: docs: Change zstyle example to a non-hierarchical one 2020-05-02 00:51:26 +00:00
Daniel Shahaf
57a3a9a746 45752/0002: _gcc: Complete --output like -o. 2020-05-02 00:48:30 +00:00
Daniel Shahaf
071d7956e6 45752/0001: _gcc: Add .cpp and .hpp to the ignored extensions list. 2020-05-02 00:48:30 +00:00
Benjamin Esham
ff50d96b19 github #56: typo: Add a single quote that had been missing 2020-04-27 08:04:26 +00:00
Daniel Shahaf
af619f41bc unposted: README: Give the 'zsystem flock' limit in pretty-printed form as well. 2020-04-21 09:01:38 +00:00
davey hathorn
013c87e3f3 github #54: Fix dig completion error 2020-04-21 00:26:59 -05:00
dana
3241a13573 unposted: NEWS, README: Document zsh/system changes from workers/45708 2020-04-20 12:12:55 -05:00
dana
1cac862b0f unposted: zsh/system: Adjust documentation from workers/45708 2020-04-20 12:12:12 -05:00
Cedric Ware
25c9b61a66 45708: zsh/system: Enable sub-second timeout in zsystem flock 2020-04-20 12:10:01 -05:00
dana
f179dbf72a 45702: compsys: Improve documentation of {insert,separate}-sections 2020-04-20 00:06:55 -05:00
Peter Stephenson
28277a84dd 45684: Document - glob qualifier in error cases 2020-04-15 21:33:48 +01:00
dg1727
6ec97e1d48 45661: docs: Clarify the effect of KSH_ARRAYS on the (I) subscript. 2020-04-12 01:26:40 +00:00
Peter Stephenson
66ee4918a1 45660: Fix crash setting vi or emacs mode on command line.
Delay setting the option until the module system is set up.
2020-04-09 21:46:20 +01:00
dana
c70d734363 45655: _retrieve_mac_apps: Update for recent macOS 2020-04-05 20:09:10 -05:00
Daniel Shahaf
05b15366f3 45656: Document the -o emacs segfault bug. 2020-04-05 05:44:11 +00:00
Mikael Magnusson
8923d2a618 Add SHORT_REPEAT option 2020-04-02 07:42:16 +02:00
Daniel Shahaf
c57d660764 unposted: Make test platform-independent.
Follow-up to the grandparent commit.
2020-04-02 00:10:42 +00:00