1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-15 21:43:09 +01:00
Commit Graph

1614 Commits

Author SHA1 Message Date
Daniel Shahaf
b0784025b1 40396: vcs_info quilt: More documentation of '%Q' and 'use-quilt'. 2017-01-25 04:22:29 +00:00
Peter Stephenson
c861b17bbf 40391: Add WARN_NESTED_VAR option and functions -W.
These are companions to WARN_CREATED_GLOBAL, warning when a variable
from an enclosing scope is altered.
2017-01-23 09:50:57 +00:00
Oliver Kiddle
b6082cd1e2 40321: _arguments option groups 2017-01-11 20:50:02 +01:00
Peter Stephenson
f26d1ba6b0 Add features associated with autoloading a function using an absolute
path.

-d defaults to normal fpath

-r remembers the path without actually loading.  May be combined with -d.

-R does the same but it's an error if not found

-X can now take a directory path: this is used to output not yet loaded
functions that have an associated path.
2017-01-11 11:26:13 +00:00
Peter Stephenson
bb218704d2 40306 with doc tweaks: Change behaviour expanding alias in () function definition.
Now an error unless the () is part of the same error as the name.
Add ALIAS_FUNC_DEF option to allow it again.
2017-01-10 19:14:26 +00:00
Phil Pennock
1db0eea95a 40318 (in part): Document echo \c behaviour. 2017-01-10 03:48:25 +00:00
Oliver Kiddle
16f5d222fc 40137: document _external_pwds 2016-12-09 22:59:14 +01:00
Peter Stephenson
f094b5b461 Document (E) parameter flag better.
It produces 1 more than any other use of an index for the
end of a match, helpfully.
2016-12-09 19:34:14 +00:00
Daniel Shahaf
7e40a89053 40117: Revert a hunk of 40035 that changed semantics incorrectly. 2016-12-09 10:37:04 +00:00
Eitan Adler
110ffae9fe 40035: Cosmetic fixes for comments and documentation.
Mostly fixes to doubled words.
2016-11-29 17:13:52 +00:00
Oliver Kiddle
3570172d3b 40003: include "0-"9 vi buffers in the registers associative array 2016-11-24 16:05:00 +01:00
Oliver Kiddle
cb5f100bd3 39986, 39989: improve handling of vi-repeat-change
Save previous vi change and throw away a new change that fails.
Add zle -f vichange to allow shell widget to be a single change.
Fix repeat of command where numeric arguments were multiplied.
2016-11-20 23:59:48 +01:00
Guillaume Maudoux
dae21874d4 39900: Add TERMINFO_DIRS special like TERMINFO.
Although this is a colon-separated array there is no tied array.
2016-11-20 20:24:15 +00:00
Mikel Ward
a2426747da 39978: more accurate doc for finding job by string 2016-11-20 19:18:34 +00:00
Daniel Shahaf
968a59bfd0 39985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT. 2016-11-20 05:34:21 +00:00
Oliver Kiddle
6d991ce177 39952: add registers special parameter to provide access to the vi register buffers from a zle widget function 2016-11-17 12:27:52 +01:00
Barton E. Schaefer
33052104e1 39929: clarify execute{,-last}-named-cmd 2016-11-13 11:00:16 -08:00
Barton E. Schaefer
dae3116026 39882: mention ${name:/pattern/replacement} in the itemized synopsis with the related forms; clarify doc. 2016-11-09 07:50:06 -08:00
Peter Stephenson
33b3489092 zsh-users/22083: attempt to explain what a word is in parameter substitution. 2016-11-07 10:04:14 +00:00
Oliver Kiddle
4b41e33cbc 39389: when printf -v is used with an array use separate elements each time the format is reused 2016-11-05 00:27:47 +01:00
Daniel Shahaf
fe023d8bac users/22080: bracketed-paste: Third time's a charm.
vi-set-buffer: Eliminate the sole use of the term "register".
2016-11-04 15:50:13 +00:00
Daniel Shahaf
0e9faf67aa users/22063: bracketed-paste: Document ability to specify a vi register. (after users/22036) 2016-11-03 16:44:14 +00:00
Daniel Shahaf
3881c6b9a4 users/22036: bracketed-paste: Document cutbuffer behaviour; clarify. 2016-10-28 16:02:03 +00:00
Daniel Shahaf
5dbfbd8bd0 unposted: Minor documentation fixes (markup, grammar, etc). 2016-10-27 18:25:13 +00:00
Daniel Shahaf
71dd0ab62e 39706: _tilde_files: Offer named directories. Document. 2016-10-24 00:53:45 +00:00
Daniel Shahaf
4eef3e6f0e 39708: Document _email_addresses. 2016-10-24 00:53:36 +00:00
Daniel Shahaf
f1c0480afc 39707: Document _dir_list. 2016-10-24 00:53:32 +00:00
Daniel Shahaf
13cfa036c8 39657: Make a helper function global. 2016-10-18 01:34:52 +00:00
Daniel Shahaf
b4cc190db9 39522: add-zsh-hook/add-zle-hook-widget: Promise append semantics.
The sentence about "as widgets" is removed since there is a whole paragraph
about that later on.
2016-10-07 14:01:00 +00:00
Peter Stephenson
dc517212ca 39566: Improve usefulness of command_not_found_handler.
Don't behave as if command not found if return status is non-zero

as this may simply be the return status of the replacement command.
Let the function report a command not found instead.
2016-10-05 12:14:43 +01:00
Daniel Shahaf
4f2a1810f2 39495: add-zle-hook-widget: Add end-of-options guard to hook invocation.
Currently, the only special widget that takes arguments is zle-keymap-select.
2016-09-30 23:15:57 +00:00
Barton E. Schaefer
0a5bf8e767 unposted: update or remove references to typeset behavior obsoleted by 35586. 2016-09-30 15:57:15 -07:00
Barton E. Schaefer
736eb433ba 39507: TMPSUFFIX for =(...) 2016-09-29 14:55:49 -07: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
Peter Stephenson
d0f9150530 unposted: small documentation tweaks 2016-09-14 12:17:38 +01: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
1fc4e6dcac 39255: = in conditions is not going anywhere 2016-09-12 14:57:59 +01: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
73622ae288 39236 (plus typo fix): docs: Tweak _arguments $opt_args documentation added in 39173. 2016-09-08 17:15:40 +00:00
Daniel Shahaf
73c0e8d4e6 39173: _arguments: Escape colons and backslashes in $opt_args unambiguously. 2016-09-06 23:48:10 +00:00
Teubel György
fde365ea8b 39167: Make $ENV handling more like POSIX 2016-09-05 21:03:12 +01:00
Daniel Shahaf
7154052ebe 39046 + 39061: New :P history modifier. 2016-08-22 03:34:30 +00:00
Daniel Shahaf
0aa6bfd831 39044 (in part, see thread): Document _canonical_paths in the manual, too.
This mostly copy-pastes the source code comments and adds markup, however, the
positional arguments are now annotated optional, and a ')' was added.
2016-08-18 16:55:45 +00:00
Peter Stephenson
062aeca2d2 39039: fix documentation of transpose-words 2016-08-15 12:06:24 +01:00
Peter Stephenson
bedb61fd99 39029: document transpose-words change 2016-08-12 12:54:34 +01:00
Jun-ichi Takimoto
7f052ed3e4 unposted: fix format in zle.yo 2016-08-04 19:32:34 +09:00
Daniel Shahaf
8d71a610af 38959: Document 38956 (_widgets). 2016-07-31 16:21:27 +00:00