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

9661 commits

Author SHA1 Message Date
Marko Myllynen
89e319f345 39453: new openstack completions 2016-09-27 21:37:32 +02:00
Oliver Kiddle
d6a6b4ff3a 39369 (tweaked cf 39371): when calling an internal widget, set bindk because some widgets use it to determine how they should act 2016-09-27 21:32:01 +02:00
Barton E. Schaefer
3b6002e53d 39437: use list_pipe_pid in assignment for clarity 2016-09-27 08:48:49 -07:00
Martijn Dekker
f0ecf54ea6 39448: reset REPLY in select on user action 2016-09-26 19:52:55 +01:00
Peter Stephenson
e35dcae40f 39436: Pass on status of SIGINT better.
Set lastval to 128 + SIGINT on interrupt.

Don't execute builtin if already interrupted at that point.
2016-09-25 19:18:43 +01:00
Peter Stephenson
759e5912fd 39435: Further fix for pgrp of funny pipelines.
Don't set gleader of SUBJOB at the point of creation if the
SUPERJOB has no processes yet.
2016-09-25 17:14:24 +01:00
Daniel Shahaf
0f8725beeb 39423: _zed: Support the '--' end-of-options mark.
This matters for fned'ing vcs_info hooks.
2016-09-24 07:22:16 +00:00
Daniel Shahaf
889f6690fd 39423: vcs_info git: Produce nicer applied-string messages for 'exec' actions.
This changes the behaviour on "unknown" git-rebase actions (those other
than pick/reword/edit/fixup/squash/execute).
2016-09-24 07:22:15 +00:00
Daniel Shahaf
0e01942c07 39412: Fix directory completion when $PWD:h contains parentheses, which are interpreted as globbing metacharacters. 2016-09-23 06:29:59 +00:00
Daniel Shahaf
7ecc3f8b4e 39410: Fix unintentional history modifiers. 2016-09-22 21:02:45 +00:00
Adam Gibbins
4e51079f0b unposted: _gpg: Correct typo
Received via github (pull request #9).
2016-09-22 11:20:41 +00:00
Barton E. Schaefer
516be10613 unposted: add missing final colon in zstyle context lookup 2016-09-21 21:28:49 -07:00
Barton E. Schaefer
18200dc030 users/21955: add missing final colon in zstyle context lookup; allow a single unique match to appear in "expansions" tag 2016-09-21 21:27:21 -07:00
Oliver Kiddle
34d512a677 39370: complete -w and -K options to zle following the widget name and numeric base to integer 2016-09-21 23:03:14 +02:00
Oliver Kiddle
e8720bbd8b 39407: cleanup minor issues in cpupower completion; updated through to version 4.8 2016-09-21 23:00:12 +02:00
Daniel Shahaf
7c93ba46d2 39385: _bts: Complete more argument types for 'cache' and 'show'. 2016-09-20 17:59:20 +00:00
Daniel Shahaf
2c612c5ba1 39383: compadd: Restrict previous patch to the case where $PREFIX includes characters both from the -P prefix and from the (unprefixed) candidate completion word. 2016-09-20 17:59:20 +00:00
Daniel Shahaf
bd94e13f34 39372: compadd: Match -P prefix all-or-nothing rather than greedily. 2016-09-20 17:59:19 +00:00
Barton E. Schaefer
c8de0af359 39381: handle save/restore of variable values when "typeset"-related reserved words are prefixed by an assignment 2016-09-19 00:26:10 -07:00
Mikael Magnusson
c3fbd97f9b bracketed-paste-url-magic: Handle magnet links too, and allow for schemes without // 2016-09-19 00:34:13 +02:00
Daniel Shahaf
f0c804879b 39374: _apt: Complete package versions in the 'packagename=<version>' syntax. 2016-09-18 06:20:59 +00:00
Daniel Shahaf
7a34c1ad17 39356 (tweaked, c.f. Bart 39358): Etc/BUGS: Remove fixed items, add 'compset -q' item from workers/39306.
The first removed hunk is fixed by ZLE_RPROMPT_INDENT.

The next two removed hunks work (on my system, anyway) with current master.
2016-09-17 06:37:46 +00:00
Peter Stephenson
c355a5f41f 39362: another race with pipeline handling.
When forking the shell to control the right hand side, the
forked subshell now always starts its own process group, to
avoid getting a spurious additional SIGSTOP.
2016-09-16 21:55:55 +01:00
Peter Stephenson
327f3dd3ad 39359: Fix remaining race with orphaned subjob.
When shell is forked to run right hand side of pipieline it should
use its own PID as process group if the left hand side of the
pipeline has already exited.
2016-09-16 17:23:12 +01:00
Peter Stephenson
01ae64c0d7 39331: Reparent subjob on fork with exited superjob.
Fixes case of
  v() { { vim - } always { true } }
  ls | v
  ^Z
  fg

Tentative fix: still a race at exit where zsh forked by ^Z
is stopped when restarted.
2016-09-16 09:39:33 +01:00
Daniel Shahaf
d523ddaba2 unposted: _postfix: Correct quoting in _call_program invocations.
Fixes completion when the command name ('postconf') or the argument to
the -c option ('/etc/postfix') are quoted on the command line, as in

    % postconf -c '/etc/postfix' ... <TAB>
2016-09-16 04:02:12 +00:00
Daniel Shahaf
6914fb298d 39312 (tweaked): _postfix (postconf): Complete only applicable parameters for -X and -#.
Unposted tweak: change the tag and description in the _describe call.
2016-09-16 03:58:02 +00:00
Daniel Shahaf
2df02212b0 39310/0010: internals: match_str: Simplify expression.
In the first hunk we actually know that ind==0 since sfx==0, but keep it identical
to the last hunk.

Also add a comment (unrelated).
2016-09-16 03:54:19 +00:00
Daniel Shahaf
a182afe2f2 39310/0009: internals: match_str: Downscope local variable 't'.
Remove needless initialization (it is written to again before it is ever read).

Note there was another 't' variable at the end of the function that shadowed
the int 't'.
2016-09-16 03:54:18 +00:00
Daniel Shahaf
f37fa9293f 39310/0008: internals: match_str: Document several local variables. 2016-09-16 03:54:03 +00:00
Daniel Shahaf
31665068c1 39310/0007: internals: match_str: Rename and constify local variables 'oll', 'olw'. 2016-09-16 03:53:04 +00:00
Daniel Shahaf
09a6e96cc0 39310/0006: internals: match_str: Downscope local variable 'bpc'. 2016-09-16 03:53:00 +00:00
Daniel Shahaf
c5f165a525 39310/0005: internals: match_str: Constify some local variables. 2016-09-16 03:52:50 +00:00
Daniel Shahaf
a08f8a4c29 39310/0004: internals: match_str: Document 'savl'. 2016-09-16 03:52:45 +00:00
Daniel Shahaf
59aabe483c 39310/0003: internals: match_str: Document 'savw'. Avoid magic number.
All callees checked to ensure that they only check that parameter for nonzeroness.
2016-09-16 03:52:37 +00:00
Daniel Shahaf
14989cea4a 39310/0002: internals: match_str: Simplify by removing 'zoff'.
'zoff' was only used within 'if (sfx)' blocks, in which case it was initialized
to 'alen', so simply s/zoff/alen/g.  'alen' is not const but it first changes
on line 794, after the last use of 'zoff'.
2016-09-16 03:52:31 +00:00
Daniel Shahaf
2656b8c293 39310/0001: internals: match_str: Document some local variables. See 39123. 2016-09-16 03:52:29 +00:00
Daniel Shahaf
00210c09db 39311: _tmux-capture-pane: Tweak specifications of -S/-E and description strings. 2016-09-16 03:46:18 +00:00
Oliver Kiddle
b870ff85a0 39333: include name of command used to gain priviliges in context for command and gain-priviliges styles 2016-09-16 00:05:10 +02:00
Oliver Kiddle
fbafc5b509 39332: support ksh's [[ -v varname ]] condition for checking if variables are set 2016-09-16 00:00:28 +02:00
Oliver Kiddle
00708285e9 unposted: remove duplicated assignment 2016-09-15 23:56:06 +02:00
Peter Stephenson
d0f9150530 unposted: small documentation tweaks 2016-09-14 12:17:38 +01:00
Peter Stephenson
a4b8ee13be zsh-users/21903: Fix ${...?...} in interactive shell.
On failure should abort back to top level, but we reset the error
flag around commands.  Add a hard error flag that's only reset at top level.
2016-09-14 10:33:18 +01:00
Marko Myllynen
be4c072cf5 unposted: _libvirt: Add another noglob. (Follow-up to 39199) 2016-09-14 07:58:43 +00:00
Daniel Shahaf
420cde9158 39199: _libvirt: Support libvirt URLs that contain a literal question mark under noglob.
E.g.,

    % noglob virsh -c qemu:///system? start <TAB>

Conflicts with 39261 resolved.
2016-09-14 07:10:04 +00:00
Daniel Shahaf
ec0c788709 unposted: _git: Permit multiple -c options. 2016-09-14 05:27:26 +00:00
Oliver Kiddle
ca53a3a464 39307: update options up to vim 8 2016-09-13 17:47:35 +02:00
Oliver Kiddle
c5a3b170d4 39299: better Freebsd support in _external_pwds using procstat 2016-09-13 17:43:38 +02:00
Peter Stephenson
1993a3cd2a 39292: Distinguish "=" and "==" tests in output.
This is both in xtrace output and shell code rebuilt from
internal structures.
2016-09-13 09:42:24 +01:00
Peter Stephenson
23c1c774b9 39305: Fix error handling after parse for here document.
Keep the error status the same as before, but also retain
the interrupt status if that was non-zero.
2016-09-13 09:37:49 +01:00