1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-19 18:19:50 +02:00
Commit Graph

11367 Commits

Author SHA1 Message Date
Oliver Kiddle edb5459d61 47322: allow prefix with ssh cipher completion and add matching control for options 2020-08-21 17:41:08 +02:00
Daniel Shahaf e14e899ab9 47323: _rpmbuild: Complete file arguments after -r/-b/-t. 2020-08-18 13:30:07 +00:00
Mikael Magnusson 01307ac59b unposted: add ChangeLog entries for previous commits 2020-08-16 18:07:19 +02:00
Mikael Magnusson 0bc559d091 47307: edit-command-line: restrict editing to region if it is active 2020-08-16 18:04:43 +02:00
Mikael Magnusson 841188439b 47306: edit-command-line: add editor style 2020-08-16 18:04:43 +02:00
Mikael Magnusson d877073959 47305: edit-command-line: when possible, set $BUFFER directly
This avoids the send-break which is both visually unappealing and might
break some use cases where the user wishes to wrap edit-command-line in
another widget.
2020-08-16 18:04:43 +02:00
Mikael Magnusson b959ec790e 47304: _globflags: support specifying more than one flag where appropriate 2020-08-16 18:04:43 +02:00
Daniel Shahaf 1e3aa132de ChangeLog: Note that the last commit contained a minor unposted tweak. 2020-08-16 15:09:13 +00:00
Daniel Shahaf 06265d2b83 47314: is-at-least false positive (5.8.0.2 / 5.8)
Actual behaviour:

    % is-at-least 5.8.0.2 5.8 && echo yes || echo no
    yes
    % is-at-least 5.8.0.2 5.8.0.0 && echo yes || echo no
    no

Expected behaviour: Both commands should have printed "no".
2020-08-16 14:24:29 +00:00
Daniel Shahaf cdafe31e05 47313: docs: Document explicitly that the :P modifier returns a symlink-less path. 2020-08-16 13:17:10 +00:00
Jörg Sommer 8becb89357 47320: Add completion for Linux tool used to adjust process OOM score 2020-08-13 22:19:02 +02:00
Oliver Kiddle 90e1f5d541 47321: update completion for btrfs 5.4 2020-08-13 22:13:22 +02:00
Oliver Kiddle 478d38006a 47319: complete more options to ImageMagick's convert command 2020-08-13 22:09:16 +02:00
Oliver Kiddle 4c3d047161 47294: updates to options in aptitude completion 2020-08-10 13:03:26 +02:00
Oliver Kiddle 394c55709e 47293: lowercase completion descriptions for lp 2020-08-10 13:01:24 +02:00
Daniel Shahaf 1f8adb4785 47308: zsh-development-guide: Document the new X-Seq autoreply bot. 2020-08-10 05:53:15 +00:00
Daniel Shahaf 5448e1611d 47303: vcs_info hg: Fix changing the expansion of %g (hook_com[guards]) in the set-patch-format hook (regression from workers/40480).
To reproduce, go to a hg repository with active mq guards and configure
vcs_info as follows:

    zstyle '*' get-unapplied true
    zstyle ':vcs_info:*set-patch-format*' hooks f
    zstyle '*' patch-format '[%g : %G]'
    zstyle '*' nopatch-format '[%g : %G]'
    zstyle '*' formats '%m'
    +vi-f () {
    	hook_com[guards]+=XXX
    }

The regression was first released in 5.3.1-test-2, over three years ago.
2020-08-09 08:07:01 +00:00
Daniel Shahaf e2be2d061a unposted: Update documentation for the move to new hosting. 2020-08-08 06:12:17 +00:00
Daniel Shahaf a2a0293d4f 47296 (+ unposted additional tests and comments): 'repeat' loops: Let the repeat count use $?.
It's an arithmetic expression.
2020-08-08 06:11:00 +00:00
Daniel Shahaf d4da2c73f0 47300: Document the EC_NODUP, EC_DUP, EC_DUPTOK triplet.
All uses reviewed; no functional change.
2020-08-08 06:01:32 +00:00
Daniel Shahaf cab21aff93 unposted: Correct the order of two recent ChangeLog entries 2020-08-08 05:51:06 +00:00
Mikael Magnusson a1f9b1324d unposted: fix syntax errors in recently added completers 2020-08-08 00:41:15 +02:00
Mikael Magnusson 6f4cf79140 46280: compinit: add -w to explain why compdump runs 2020-08-05 14:19:14 +02:00
Roman Perepelitsa b74635aa74 unposted: Fix the format of recent ChangeLog entries.
Add the list of changed files to the last three ChangeLog
entries by roman.perepelitsa@gmail.com.
2020-07-30 10:19:57 +02:00
Roman Perepelitsa 22ec4d14e2 unposted: Add missing entries to ChangeLog.
The last 3 commits from <roman.perepelitsa@gmail.com> are missing
from ChangeLog. This commit add the missing entries.
2020-07-30 09:43:56 +02:00
Roman Perepelitsa a8e31c07a7 unposted: comments explaining how hashtable must be created
See zsh-workers 46277, 46278, 46279.
2020-07-29 08:53:47 +02:00
Roman Perepelitsa 6f6363de94 46275: eliminate undefined behavior caused by redefinition of hashtable
struct hashtable has different set of data members in different
translation units. This is undefined behavior.
2020-07-29 08:27:15 +02:00
Roman Perepelitsa 41e318727e 46268: suppress a useless compiler warning around nice()
From nice(2):

    To detect an error, set errno to 0 before the call, and check
    whether it is nonzero after nice() returns -1.
2020-07-28 11:46:14 +02:00
Daniel Shahaf b01e1aec8e 46244 (cont.): Flesh out the TODO from the previous commit. 2020-07-14 18:36:15 +00:00
Daniel Shahaf b9f9a94862 46244: Start to introduce a release managers keyring. 2020-07-14 18:27:36 +00:00
oxiedi 2516da75a9 github #61: _parameters: Don't leak the variable $i 2020-07-14 18:16:41 +00:00
Daniel Shahaf fa51a38955 46240: Make the expansion of manref()() in ztexi.yo match its expansion in zman.yo.
The difference was mostly harmless in the common case "(see manref(foo)(42))",
which expanded to "(see man page foo(42))" under ztexi.yo, but in other
contexts the ztexi.yo expansion was was nonsensical; for example:

    "the BSD manref(echo)(1) command"

    "the string returned by the manref(getlogin)(3) system call"

    "advisory file locking (via the manref(fcntl)(2) system call)"

    "this is the exact opposite from manref(ls)(1),"

While there, copyedit some uses of manref()().
2020-07-13 14:05:37 +00:00
Daniel Shahaf b5f24592ad 46183: New XFail test: external command with =(...) on LHS of pipeline cleans up its tempfiles. 2020-07-12 15:57:49 +00:00
Daniel Shahaf ad47c2d907 unposted (cf. GitHub #11): vcs_info hg: docs: Change an example to not use a hex dump incantation that may replace some bytes' values with asterisks.
Discussion: https://github.com/zsh-users/zsh/pull/11#issuecomment-457970494 et seq

Incidentally, GitHub #11 is also where workers/39786 (commit
zsh-5.2-578-g74aa45910) was first reported.
2020-07-12 13:06:38 +00:00
Daniel Shahaf 7dfc4f754e users/24985: Clarify documentation of the ${(n)} and ${(-)} parameter expansion flags, and add a forward compatibility hatch to the latter. 2020-07-12 11:39:34 +00:00
Daniel Shahaf 03407c2928 46204: Fix new test case for the theoretical case of having more than 100 files in the root directory. 2020-07-12 11:37:16 +00:00
Daniel Shahaf c1fc3afd15 unposted: .editorconfig: For Makefiles, make the indent size equal to tab width. 2020-07-12 11:32:26 +00:00
Cedric Ware 4d7aa71d8e 46152: zsh/system: Re-allow '0' timeout in zsystem flock 2020-07-11 00:14:58 -05:00
Jun-ichi Takimoto c04a391877 46215: make the test for RM_STAR_SILENT work on wider systems 2020-07-09 19:06:07 +09:00
Oliver Kiddle 781129b838 46216: update for ansible 2.9 2020-07-08 23:54:38 +02:00
Oliver Kiddle 5a34b68ae2 46217: update options for tmux 3.1 2020-07-08 23:52:37 +02:00
Mathias Fredriksson aa60dd320f github #60: Fix completion for a zfs dataset containing spaces 2020-07-08 23:46:37 +02:00
Doron Behar 02f62e5d21 gitlab !15: modutils completion: Fix FHS assumption
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-08 18:07:39 +02:00
Oliver Kiddle 57a735f6b9 46201: add guidelines for caching and use of imperative mood in descriptions 2020-07-08 17:47:46 +02:00
Oliver Kiddle 389c853b4a 46195: use showrgb command to get colours if it is available 2020-07-08 17:40:42 +02:00
SATOH Fumiyasu a0a27473fe github #50: Complete hosts in "Match" directive 2020-07-08 17:25:20 +02:00
James Pike dc8061ebe4 github #53: Allow specifying directory name for _remote_files 2020-07-08 17:20:10 +02:00
Bart Schaefer 126a3158d5 46189: Ignore exit status of final zpty_flush in comptesteval 2020-07-07 09:36:11 -07:00
Nuri Jung 89618fe37d github #58: docs: Note that the zsh/regex syntax is platform-dependent. 2020-07-07 13:27:03 +00:00
Pete Moore 4ab0d047c7 46194: docs: metafaq: Remove spurious closing bracket 2020-07-06 23:41:35 +00:00