Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unposted: _postfix: Correct quoting in _call_program invocations. | Daniel Shahaf | 2016-09-16 | 2 | -3/+6 |
| | | | | | | | 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> | ||||
* | 39312 (tweaked): _postfix (postconf): Complete only applicable parameters ↵ | Daniel Shahaf | 2016-09-16 | 2 | -6/+31 |
| | | | | | | for -X and -#. Unposted tweak: change the tag and description in the _describe call. | ||||
* | 39310/0010: internals: match_str: Simplify expression. | Daniel Shahaf | 2016-09-16 | 2 | -5/+8 |
| | | | | | | | 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). | ||||
* | 39310/0009: internals: match_str: Downscope local variable 't'. | Daniel Shahaf | 2016-09-16 | 2 | -2/+14 |
| | | | | | | | 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'. | ||||
* | 39310/0008: internals: match_str: Document several local variables. | Daniel Shahaf | 2016-09-16 | 2 | -2/+19 |
| | |||||
* | 39310/0007: internals: match_str: Rename and constify local variables 'oll', ↵ | Daniel Shahaf | 2016-09-16 | 2 | -2/+6 |
| | | | | 'olw'. | ||||
* | 39310/0006: internals: match_str: Downscope local variable 'bpc'. | Daniel Shahaf | 2016-09-16 | 2 | -3/+10 |
| | |||||
* | 39310/0005: internals: match_str: Constify some local variables. | Daniel Shahaf | 2016-09-16 | 2 | -6/+9 |
| | |||||
* | 39310/0004: internals: match_str: Document 'savl'. | Daniel Shahaf | 2016-09-16 | 2 | -1/+19 |
| | |||||
* | 39310/0003: internals: match_str: Document 'savw'. Avoid magic number. | Daniel Shahaf | 2016-09-16 | 2 | -3/+9 |
| | | | | All callees checked to ensure that they only check that parameter for nonzeroness. | ||||
* | 39310/0002: internals: match_str: Simplify by removing 'zoff'. | Daniel Shahaf | 2016-09-16 | 2 | -10/+13 |
| | | | | | | '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'. | ||||
* | 39310/0001: internals: match_str: Document some local variables. See 39123. | Daniel Shahaf | 2016-09-16 | 2 | -2/+59 |
| | |||||
* | 39311: _tmux-capture-pane: Tweak specifications of -S/-E and description ↵ | Daniel Shahaf | 2016-09-16 | 2 | -6/+11 |
| | | | | strings. | ||||
* | 39333: include name of command used to gain priviliges in context for ↵ | Oliver Kiddle | 2016-09-16 | 5 | -7/+18 |
| | | | | command and gain-priviliges styles | ||||
* | 39332: support ksh's [[ -v varname ]] condition for checking if variables ↵ | Oliver Kiddle | 2016-09-16 | 7 | -2/+63 |
| | | | | are set | ||||
* | unposted: remove duplicated assignment | Oliver Kiddle | 2016-09-15 | 2 | -1/+4 |
| | |||||
* | unposted: small documentation tweaks | Peter Stephenson | 2016-09-14 | 2 | -3/+5 |
| | |||||
* | zsh-users/21903: Fix ${...?...} in interactive shell. | Peter Stephenson | 2016-09-14 | 4 | -1/+35 |
| | | | | | 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. | ||||
* | unposted: _libvirt: Add another noglob. (Follow-up to 39199) | Marko Myllynen | 2016-09-14 | 2 | -1/+6 |
| | |||||
* | 39199: _libvirt: Support libvirt URLs that contain a literal question mark ↵ | Daniel Shahaf | 2016-09-14 | 2 | -11/+14 |
| | | | | | | | | | | under noglob. E.g., % noglob virsh -c qemu:///system? start <TAB> Conflicts with 39261 resolved. | ||||
* | unposted: _git: Permit multiple -c options. | Daniel Shahaf | 2016-09-14 | 2 | -1/+6 |
| | |||||
* | 39307: update options up to vim 8 | Oliver Kiddle | 2016-09-13 | 3 | -24/+42 |
| | |||||
* | 39299: better Freebsd support in _external_pwds using procstat | Oliver Kiddle | 2016-09-13 | 2 | -1/+10 |
| | |||||
* | 39292: Distinguish "=" and "==" tests in output. | Peter Stephenson | 2016-09-13 | 9 | -29/+60 |
| | | | | | This is both in xtrace output and shell code rebuilt from internal structures. | ||||
* | 39305: Fix error handling after parse for here document. | Peter Stephenson | 2016-09-13 | 2 | -1/+6 |
| | | | | | Keep the error status the same as before, but also retain the interrupt status if that was non-zero. | ||||
* | 39295: allow -- to appear in the command line passed as an argument | Oliver Kiddle | 2016-09-12 | 2 | -2/+5 |
| | |||||
* | 39287: add .tif as a valid extension for TIFF files | Oliver Kiddle | 2016-09-12 | 4 | -4/+10 |
| | |||||
* | unposted: reference use of widgets to effect editor changes from a sched command | Barton E. Schaefer | 2016-09-12 | 2 | -0/+8 |
| | |||||
* | 39297: more of 39284, it's painful to add texi nodes in yodl | Barton E. Schaefer | 2016-09-12 | 2 | -4/+9 |
| | | | | Also fix some inconsequential ChangeLog typos. | ||||
* | missed this | Peter Stephenson | 2016-09-12 | 1 | -0/+5 |
| | |||||
* | 39255: = in conditions is not going anywhere | Peter Stephenson | 2016-09-12 | 1 | -2/+4 |
| | |||||
* | 39268: "zsystem flock -t 0 ..." tries only once to flock and immediately ↵ | Barton E. Schaefer | 2016-09-11 | 2 | -3/+8 |
| | | | | returns success or failure | ||||
* | 39284: Added Completion System Variables as a menu item | Vin Shelton | 2016-09-12 | 2 | -0/+7 |
| | |||||
* | 39261 (tweaked cf. Daniel: 39275): don't unconditionally elevate privileges ↵ | Oliver Kiddle | 2016-09-11 | 18 | -18/+95 |
| | | | | | | | 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 | ||||
* | 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses. | Daniel Shahaf | 2016-09-11 | 10 | -59/+47 |
| | |||||
* | unposted: Add tests for ${(q)} being aware of the EQUALS option. | Daniel Shahaf | 2016-09-09 | 2 | -0/+9 |
| | |||||
* | 39236 (plus typo fix): docs: Tweak _arguments $opt_args documentation added ↵ | Daniel Shahaf | 2016-09-08 | 3 | -6/+14 |
| | | | | in 39173. | ||||
* | 39222: test math functions in modules. | Peter Stephenson | 2016-09-08 | 2 | -0/+79 |
| | | | | Use zsh/system. | ||||
* | 39194: _man (Solaris): Ignore man-index. Support multiple sections in the -s ↵ | Danek Duvall | 2016-09-07 | 2 | -0/+8 |
| | | | | flag's argument. | ||||
* | unposted: fix to use ;| style fall-throughs in the case statement | Oliver Kiddle | 2016-09-07 | 2 | -6/+9 |
| | |||||
* | 39209: Update options | Matthew Martin | 2016-09-07 | 2 | -3/+11 |
| | |||||
* | 39208: Update flags | Matthew Martin | 2016-09-07 | 2 | -13/+35 |
| | |||||
* | 39223: Introduce addflags function to reduce redundancy | Matthew Martin | 2016-09-07 | 1 | -42/+33 |
| | |||||
* | 39193 (cf. Yoshio Hanawa: 39192): don't pass options from after -- on to compadd | Oliver Kiddle | 2016-09-07 | 2 | -6/+14 |
| | |||||
* | 39185: Only set word begin for completion word if not alias. | Peter Stephenson | 2016-09-07 | 2 | -1/+6 |
| | | | | | This is consistent with other ZLE code in lex.c and fixes a crash in some completions involving aliases, e.g. if uncompleted quotes. | ||||
* | 39221: update rm completion for BSD | Matthew Martin | 2016-09-07 | 2 | -7/+18 |
| | |||||
* | 39218: Fix module feature enables with math functions. | Peter Stephenson | 2016-09-07 | 2 | -0/+5 |
| | | | | If they were present parameters were miscounted. | ||||
* | 39217: fix error name generation with GCC. | Peter Stephenson | 2016-09-07 | 2 | -1/+11 |
| | | | | | Adapt the same trick as in zsh.mdd to ensure we don't get preprocessor lines in the output. | ||||
* | 38153: change the way long options are examined for "=" signs to more ↵ | m0viefreak | 2016-09-06 | 2 | -8/+20 |
| | | | | | | | | | | | 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. | ||||
* | 39174: _ssh: Fix completion of ProxyCommand option. | Daniel Shahaf | 2016-09-06 | 2 | -4/+4 |
| | | | | | | 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. |