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
Oliver Kiddle
98581594b5
39295: allow -- to appear in the command line passed as an argument
2016-09-12 23:26:14 +02:00
Oliver Kiddle
8e3f6e8919
39287: add .tif as a valid extension for TIFF files
2016-09-12 23:22:34 +02:00
Barton E. Schaefer
43137b8e8f
unposted: reference use of widgets to effect editor changes from a sched command
2016-09-12 09:52:23 -07:00
Barton E. Schaefer
5456cab86f
39297: more of 39284, it's painful to add texi nodes in yodl
...
Also fix some inconsequential ChangeLog typos.
2016-09-12 09:50:25 -07:00
Peter Stephenson
f3f99d278c
missed this
2016-09-12 15:11:15 +01:00
Peter Stephenson
1fc4e6dcac
39255: = in conditions is not going anywhere
2016-09-12 14:57:59 +01:00
Barton E. Schaefer
26b4508ee3
39268: "zsystem flock -t 0 ..." tries only once to flock and immediately returns success or failure
2016-09-11 17:22:02 -07:00
Vin Shelton
ef019506ae
39284: Added Completion System Variables as a menu item
2016-09-12 00:23:58 +02:00
Oliver Kiddle
8011fe8a58
39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges with sudo in completion functions
...
A new gain-privileges style enables it and a _comp_priv_prefix array
added for tracking how to match privileges for the current command
2016-09-11 13:49:22 +02:00
Daniel Shahaf
f368720b8b
39252: internal: quotestring: Drop the 'e' parameter, which no caller uses.
2016-09-11 09:22:18 +00:00
Daniel Shahaf
1b6033489b
unposted: Add tests for ${(q)} being aware of the EQUALS option.
2016-09-09 09:36:12 +00:00
Daniel Shahaf
73622ae288
39236 (plus typo fix): docs: Tweak _arguments $opt_args documentation added in 39173.
2016-09-08 17:15:40 +00:00
Peter Stephenson
198c7bc232
39222: test math functions in modules.
...
Use zsh/system.
2016-09-08 12:15:14 +01:00
Danek Duvall
999e1ac64e
39194: _man (Solaris): Ignore man-index. Support multiple sections in the -s flag's argument.
2016-09-07 23:15:46 +00:00
Oliver Kiddle
7d98ac7cd5
unposted: fix to use ;| style fall-throughs in the case statement
2016-09-07 23:33:42 +02:00
Matthew Martin
1fe962cbfd
39209: Update options
2016-09-07 23:19:04 +02:00
Matthew Martin
48c31e21d3
39208: Update flags
2016-09-07 23:19:01 +02:00
Matthew Martin
1f429c0668
39223: Introduce addflags function to reduce redundancy
2016-09-07 23:18:46 +02:00
Oliver Kiddle
5d24f6d9aa
39193 (cf. Yoshio Hanawa: 39192): don't pass options from after -- on to compadd
2016-09-07 23:18:26 +02:00
Peter Stephenson
ef862262e7
39185: Only set word begin for completion word if not alias.
...
This is consistent with other ZLE code in lex.c and fixes a crash
in some completions involving aliases, e.g. if uncompleted quotes.
2016-09-07 18:51:01 +01:00