1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 23:11:20 +02:00
Commit Graph

1635 Commits

Author SHA1 Message Date
Peter Stephenson
5a895a5260 40906: Add note on use of (k) parameter subst flag.
KSH_ARRAYS generlly requires [*] or [@] to operate on the whole
array and this is true here.
2017-03-27 11:57:50 +01:00
Peter Stephenson
20d464944b 40875: Update REC_EXACT description, suggested by Martin Krafft 2017-03-21 09:59:15 +00:00
Daniel Shahaf
b627c251a4 unposted (after 40859): Fix yodl warning:
makeinfo ./zsh.texi
    ./zsh.texi:36246: Next field of node `vcs_info Examples' not pointed to (perhaps incorrect sectioning?).
    ./zsh.texi:36419: This node (Prompt Themes) has the bad Prev.

Seen with yodl 3.00.00 but not with 3.04.00.
2017-03-20 18:52:09 +00:00
Daniel Shahaf
10220628e7 40859: vcs_info docs: Use proper internal links through texinfo nodes.
Changes:

- Add texinode()'s
- Replace 'see foo' with 'see noderef(foo)'

Drive-by changes:

- Fix one reference to a nonexistent "Styles" section
- (minor) Fix whitespace around "once"
2017-03-19 17:18:04 +00:00
Daniel Shahaf
f3ae40f8aa unposted: vcs_info quilt: Fix documentation markup typo. 2017-03-18 00:55:27 +00:00
Daniel Shahaf
56ef4f62c4 40822: vcs_info quilt: Document the '.quilt-foo' zstyle context element. (Compare users/20807.) 2017-03-14 11:14:12 +00:00
Daniel Shahaf
d044530afd 40816: Document interaction of 'print -P' and 'print -f'. 2017-03-12 19:37:18 +00:00
Daniel Shahaf
a5482971b7 40744: Document the SHORT_LOOPS 'function' syntax.
It's already mentioned in passing in zshoptions(1).
2017-03-08 10:04:34 +00:00
Sebastian Gniazdowski
23275fc8db 40726: add "zcurses resize" for sane terminal size change 2017-03-05 11:25:38 -08:00
Peter Stephenson
67c5d83df3 40702: new KEYS_QUEUED_COUNT ZLE variable 2017-03-03 10:18:46 +00:00
Peter Stephenson
47c05f6b66 40622 with typos fixed: functions -Ms.
This adds the capability for mathematical functions based on shell
functions to have a string argument.  Module functions have had
this for a long time.
2017-03-01 10:01:01 +00:00
Daniel Shahaf
bf292bde14 40641: docs: patterns: Add '|' to the overview. Clarify that it short-circuits. 2017-02-28 07:39:15 +00:00
Barton E. Schaefer
4b8db48c6b 40640: the (A) parameter flag forces array result even if assignment syntax is not used 2017-02-25 15:56:50 -08:00
Barton E. Schaefer
db44b17150 unposted (cf. 40617): clarify description of ${(A)name=value} and ${(AA)name=value} 2017-02-23 21:53:19 -08:00
Øystein Walle
e329a8d62d 40568: REMATCH_PCRE is not enabled by default, fix doc. 2017-02-17 15:34:03 +00:00
Sebastian Gniazdowski
e9ce001749 40558, 40562: General improvements to zsh/db/gdbm module 2017-02-17 09:22:02 +00:00
Peter Stephenson
d8c66e65a2 40537: Document previous change to autoload 2017-02-13 16:34:27 +00:00
Daniel Shahaf
ecd88284f3 40492: vcs_info: Escape '%' signs in payloads.
Test case: a patch whose subject is '%Sfoo%sbar'.  ('S' and 's' are
expandos both in prompts and in the 'formats' style.)
2017-02-09 15:24:04 +00:00
Daniel Shahaf
bb6c08b51a unposted: vcs_info git: Fix typo in manual. 2017-02-04 05:55:46 +00:00
Daniel Shahaf
49bc46946e 40476: vcs_info $backend_misc: Document at the right point, provide in quilt 'standalone' mode. 2017-02-03 18:13:57 +00:00
Peter Stephenson
34f70c5dc0 40440: Add $functions_source hash to zsh/parameter.
This allows you to find out where a function was loaded from.
2017-01-28 19:33:27 +00:00
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