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
Matthew Martin
c001d1f2a2
39221: update rm completion for BSD
2016-09-07 14:22:28 +01:00
Peter Stephenson
c47c35cacc
39218: Fix module feature enables with math functions.
...
If they were present parameters were miscounted.
2016-09-07 11:50:00 +01:00
Peter Stephenson
8d18872817
39217: fix error name generation with GCC.
...
Adapt the same trick as in zsh.mdd to ensure we don't get
preprocessor lines in the output.
2016-09-07 11:50:00 +01:00
m0viefreak
2d5dd74732
38153: change the way long options are examined for "=" signs to more accurately identify options that take arguments
...
Note in workers/39135:
The pattern in 266/268 appears to match the '=' sign even though it's in the
second colon-separated field, where it doesn't denote a mandatory argument.
I'm guessing the pattern match on lines 266/268 should be fixed ...
This commit alters those patterns in what is hoped to be the desired way.
2016-09-06 22:35:26 -07:00
Daniel Shahaf
30bb9fe7b7
39174: _ssh: Fix completion of ProxyCommand option.
...
The incumbent code would discard the first word of the value of the
ProxyCommand option. Stop doing so. With that removed the remaining
two lines were equivalent to _cmdstring, so just call it directly.
2016-09-06 23:49:07 +00:00
Daniel Shahaf
73c0e8d4e6
39173: _arguments: Escape colons and backslashes in $opt_args unambiguously.
2016-09-06 23:48:10 +00:00
Daniel Shahaf
831a336c49
39171: _libvirt: Apply $opt_args-unescaping.
...
This causes the value of $conn_opt in the code not to have a backslash
in front of the colon.
2016-09-06 23:41:00 +00:00
Daniel Shahaf
9a722df3a6
unposted: _libvirt: Escape $words elements to avoid their interpretation as a pattern against $_cache_virsh_cmds.
2016-09-06 14:54:05 +00:00
Marko Myllynen
3768fcc28a
unposted: Fix leakage of $word (after 39179).
2016-09-06 09:10:58 +00:00
Peter Stephenson
fe3a63fa6c
39181: Add PM_SINGLE and use for compstate.
...
This flags that compstate (or any other special) can only have
a single instance and an attempt to create a new one is an error.
Given the very fiddly semantics of compstate any other usage
seems pointless.
No investigation yet of other variables that could use this.
Note it's still possible to hide such variables; only instances
that keep the special nature are affected.
2016-09-06 09:42:33 +01:00
Marko Myllynen
33a8a6f86c
39179 (plus tweak): More _libvirt (virsh) completion tweaks
2016-09-06 00:13:42 +00:00
Teubel György
fde365ea8b
39167: Make $ENV handling more like POSIX
2016-09-05 21:03:12 +01:00
Daniel Shahaf
02bb3de257
unposted: internals: Document zshcompwid(1) parameter implementations.
2016-09-04 21:15:46 +00:00
Marko Myllynen
5b4cbcc842
39158: cleanup following review comments of _libvirt function
2016-09-03 12:41:22 +02:00
Oliver Kiddle
48c20d74a7
39165: update options to correspond to latest versions of software in various functions
2016-09-03 12:31:22 +02:00
Daniel Shahaf
972423629f
unposted: _postfix_queue_id: Unbreak completion of short queue ids of held/active messages, broken in 39108.
2016-09-02 19:20:56 +00:00
Daniel Shahaf
8bb531990e
39154: _files: -/ with list-dirs-first resulted in a bad pattern, thus aborting completion partway.
2016-09-02 18:23:55 +00:00
Marko Myllynen
4547897976
39118: (almost) complete virsh completions
2016-08-31 16:34:41 +02:00
Peter Stephenson
8e329ccb0a
39141: Use zsh instead of sh in SHLVL test.
...
This removes ambiguous behaviour of sh which may or may not
increment SHLVL.
2016-08-31 11:31:55 +01:00
Stephane Chazelas
8ce98c75f5
39125: More care needed decrementing SHLVL on exec.
...
Not needed in subshell.
2016-08-31 10:21:00 +01:00