1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 21:06:04 +02:00
Commit Graph

10776 Commits

Author SHA1 Message Date
Peter Stephenson 9dbde9e9c7 unposted: updates for 5.6.2-test-2 2018-12-19 19:33:36 +00:00
Peter Stephenson b6169745c1 unposted, c.f. 43913: emulate -L zsh in edit-command-line
Otherwise bad effects observed with GLOB_SUBST set.
2018-12-19 09:54:26 +00:00
dana 43247252dd 43897: Add/update various completion functions
* Update tail to support -q/-v on NetBSD
* Add several new functions (with one change needed to _hosts compdefs)
2018-12-17 14:49:33 -06:00
dana f8864ac0c8 43895: _watch: Complete for procps/-ng watch 2018-12-17 14:45:14 -06:00
Joey Pabalinas 552ebe6082 43904 (plus tweak): zshmisc(1): document term being optional if `in word' is omitted
In code such as:

> hobbes% () { for arg do print -r $arg; done; } 1 2 3
> 1
> 2
> 3

the implicit positional parameters added when the `in word ...'
list is omitted also implicitly append the separator term, making
the above code valid, albeit seemingly violating the syntax listed
in the documentation.

This is related to the various forms of alternative syntax and is
the intended behavior of the parsing code, so correct the minor
contradiction in the for loop documentation.
2018-12-17 12:02:43 +00:00
dana e64bd2ad4c unposted: _dig: Fix _arguments syntax error 2018-12-14 17:44:05 -06:00
Daniel Shahaf 23154e46e6 43879: vcs_info git: Fix fatal error in VCS_INFO_git_getbranch in corner case
Before this commit, the following use-case:

    git checkout foo^
    git show foo | git am

would result in a fatal error, with vcs_info_msg_N_ not set:

    VCS_INFO_git_getbranch:18: no such file or directory: .git/rebase-apply/onto

Now they are set correctly, and HEAD's commit hash is used.
2018-12-13 15:28:00 +00:00
dana 90b2654b7e 43871: _files: Support `-F '(pat ...)'` as with _path_files 2018-12-09 14:54:37 -06:00
Peter Stephenson 42020cdabb 43861: make "(#" completion safer by checking for ")" 2018-12-04 17:19:45 +00:00
Peter Stephenson 7f62255b49 43860: Complete glob flags at start of word. 2018-12-04 16:57:05 +00:00
Peter Stephenson ef20425381 43854: Set tok to LEXERR on generic parse error.
Needed by main loop which detects an error this way.
2018-11-29 17:54:02 +00:00
Peter Stephenson 50f8fa972c 43837 plus test from Daniel: Empty string in nested subst.
Skip Nularg or there is a bogus character at the start.
2018-11-21 10:10:03 +00:00
Jun-ichi Takimoto 8d0f7681a0 43829: nearcolor.c: use double instead of float 2018-11-19 14:57:30 +09:00
Daniel O'Connor b248b714a9 43830: _cu: Complete /dev/cu.* 2018-11-16 21:36:53 -06:00
Jun-ichi Takimoto 35afea0772 unposted: _zcat: support macOS 2018-11-15 21:02:22 +09:00
Ivan Tkachenko e258e7d251 43823: remove unnecessary metafy() in stattimeprint() 2018-11-15 10:59:09 +09:00
Peter Stephenson 7292c063e8 43620: More care documenting command substitution including $(<...) 2018-11-14 14:22:10 +00:00
dana e25f890589 43809: Suppress npm update checks during completion 2018-11-13 13:06:29 -06:00
dana df12f6cd2f unposted (cf. 43800): Update strftime completion 2018-11-13 13:01:47 -06:00
dana 5ad76492af 43800: Add nanosecond support to strftime built-in 2018-11-13 13:01:01 -06:00
Oliver Kiddle 0b3b52778b 43819: expand adb completion to also cover options to adb backup 2018-11-12 11:09:55 +01:00
Oliver Kiddle 082f703ccd 43818: complete math functions for other modules besides zsh/mathfunc 2018-11-12 10:34:32 +01:00
Oliver Kiddle d5fec6b512 43816: various completion option updates 2018-11-12 10:32:41 +01:00
Oliver Kiddle f6495ebae8 43817: update options in btrfs completion through to btrfs 4.17.1 2018-11-12 10:32:37 +01:00
Oliver Kiddle b96dac3287 43813: for powerd add units, default values and allow option arguments in the same word as the option 2018-11-12 10:32:27 +01:00
Oliver Kiddle 8d2622ecba 43812: allow repeats of gcc's -Wsuggest-attribute option 2018-11-12 10:32:15 +01:00
Kamil Dudka d50e204b0c 43790: failed mailstat could leak memory 2018-11-09 11:06:08 +00:00
Kamil Dudka e27175c7c8 43789: possible use after free clearing up math func from module 2018-11-09 11:04:06 +00:00
Kamil Dudka d1095bdf74 43723: file descriptor could leak on fork error 2018-11-09 11:02:24 +00:00
Kamil Dudka 031afe4207 43793: computil could overrun buffer 2018-11-09 10:57:09 +00:00
Kamil Dudka a8cc017c74 43791: File descriptor could be closed twice in clone 2018-11-09 10:54:47 +00:00
Joey Pabalinas fc3826190a 43779 (tweaked): add parentheses to fix expression with cprecedences option set 2018-11-08 11:46:27 +01:00
Oliver Kiddle 5a70701788 43805: make nearcolor module use the default colour rather than black as a fallback 2018-11-08 11:01:36 +01:00
Oliver Kiddle 9eba4d3a44 43804: also need to be able to turn colour attributes back into hex triples for region_highlight variable 2018-11-08 11:01:29 +01:00
Oliver Kiddle 71c9130ede unposted: add usual copyright header to nearcolor module sources 2018-11-08 11:01:27 +01:00
Oliver Kiddle 742bd20277 43784: clarify descriptions on options related to match sorting 2018-11-08 11:01:20 +01:00
Oliver Kiddle f0655371a6 unposted (c.f. Bart: 43739): use a correct description for the @ parameter expansion flag 2018-11-08 09:33:58 +01:00
Peter Stephenson 6529d52506 43788: clarify zpty -w -n with no string argument 2018-11-07 12:36:05 +00:00
Jun-ichi Takimoto e5465c0434 43761: update five completion functions for darwin 2018-11-07 21:01:54 +09:00
Oliver Kiddle c8ce1fe4c1 43760: add documentation for true colour changes and nearcolor module 2018-11-05 22:24:16 +01:00
Oliver Kiddle 50597692e0 43759: add support for true colour terminals 2018-11-05 22:24:12 +01:00
Oliver Kiddle 37d0005a9e 43747: new module to map colours from hex triplets to the nearest matching colour 2018-11-05 22:24:05 +01:00
Peter Stephenson 916ba78cd7 43752: Fix _expand quoting.
Quoting was not applied properly if globbing failed or was not applied.
2018-11-03 19:36:06 +00:00
Oliver Kiddle 58bfa1665b 43748: fix completion for ack 3beta 2018-11-02 01:09:47 +01:00
Wieland Hoffmann 11c84dcef4 github #29: Add completion support for Gits --color-moved option and color settings
--color-moved was added in Git 2.15.
2018-11-02 00:45:35 +01:00
Jun-ichi Takimoto ce048aee38 43746: _ping: update for BSD and Darwin 2018-10-31 19:24:45 +09:00
Jun-ichi Takimoto 967c964e21 43744: _sysctl: support procps-ng, NetBSD
with several updates for other OS
2018-10-31 19:17:59 +09:00
Daniel Shahaf 73b1328049 43726: Add tests for semicolon in the middle of a sublist not terminating it. 2018-10-24 15:31:42 +00:00
Jun-ichi Takimoto a4e435b873 43723: _mkdir: fix builtin mkdir and support darwin 2018-10-24 17:36:15 +09:00
Jun-ichi Takimoto 4ad04eeb85 43722: _ed, _env, _sort: support darwin
use the same completions as freebsd
2018-10-24 17:32:17 +09:00