Chris Bracken
2c00d2132c
github #19 : Fix minor typo in INC_APPEND_HISTORY documentation
2017-11-13 21:06:35 +01:00
Martijn Dekker
b432d518e4
42004: fix parentheses in documentation
2017-11-11 12:42:51 +00:00
Daniel Shahaf
660df206c1
41939: docs: Move aliases corner case to the dangerous bends section. (after 41482)
2017-10-30 13:30:08 +00:00
Daniel Shahaf
3b0c8bdac8
unposted: Document "typeset -p"'s optional argument in the inline synopsis.
2017-10-17 17:59:06 +00:00
Peter Stephenson
ff3e47e9f4
41842: aliasing documentation update
2017-10-10 09:59:31 +01:00
Daniel Shahaf
e49aabc13a
unposted: zsh/stat docs: Rephrase to avoid ambiguity due to the ambiguous relative precedence of the 'other than' and 'and' operators.
2017-10-07 01:11:23 +00:00
Peter Stephenson
174e560a23
41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.
...
Initialised from existing configuration value.
2017-10-02 09:44:26 +01:00
Peter Stephenson
728f2adfc8
Add typeset -p1, like typeset -p with newlines
2017-10-01 17:53:56 +01:00
Peter Stephenson
6230e82d44
41764 (test tweaked): allow [key]+=value when modifying arrays
2017-09-27 09:41:50 +01:00
Daniel Shahaf
9cab4c3d7f
41755: Followup to last: minor clarification to docs.
2017-09-24 17:21:50 +00:00
Peter Stephenson
85b0dd7133
Updates for ksh array element syntax.
...
Move detection of key/value pairs down into prefork().
Detect normal array assignment and [key]=val array assignemnt
separately. Mark key / value pairs with Marker and pass up flag. Deal
with marked triads specially later on.
2017-09-24 17:33:07 +01:00
Barton E. Schaefer
2c41dc0b2e
41731: reformat and expand doc for 41698.
...
Also add missing x-seq reference for 41705 in ChangeLog.
2017-09-20 10:03:47 -07:00
Peter Stephenson
c2d4fa50ed
unposted: nodref -> noderef
2017-09-15 09:30:09 +01:00
Peter Stephenson
ab7be4238c
More [key]=value tweaks
...
Some rephrasings.
Update typeset -p for associative arrays to use new syntax.
2017-09-14 21:43:37 +01:00
Peter Stephenson
7ca2e97c14
unposted: typo in doc just committed
2017-09-13 20:58:55 +01:00
Peter Stephenson
54b3958440
First go at var=([key]=value) syntax.
...
Works for both normal and typeset case, also var+=...
Still to do: allow to be mixed with straight array assignment,
improve typeset -p, implement [key]+=value.
2017-09-13 20:54:00 +01:00
Peter Stephenson
91484e0d42
41679: slight clarification on exec of builtins
2017-09-13 10:47:16 +01:00
Peter Stephenson
e8780e11ed
unposted: YODL compatibility fix for --emulate
2017-09-13 10:45:00 +01:00
Peter Stephenson
2ef3dff65a
41668: New --emulate option on invocation.
...
This sets the shell emulation mode similarly to ARGV0=... which
doesn't work from other shells.
Note that this gives more comprehensive emulation than running
emulate within the shell.
2017-09-11 10:12:17 +01:00
Peter Stephenson
97d4bdbc7e
41590 modified as 41595: make ERR_RETURN more logical.
...
It now operates separately at each function depth.
To keep ERR_EXIT global, make the noerrexit variable usd bit flags.
Extend tests.
2017-08-24 19:46:20 +01:00
Peter Stephenson
a9b579a9d3
Revert "41499 (with one further tweak): POSIX_STRINGS behaviour."
...
This reverts commit 2eacbef919
.
Conflicts:
ChangeLog
2017-08-08 19:04:49 +01:00
Peter Stephenson
2fba415a71
41510: update doc for $ZSH_PATCHLEVEL
2017-08-08 16:12:20 +01:00
Peter Stephenson
2eacbef919
41499 (with one further tweak): POSIX_STRINGS behaviour.
...
Ignore a terminating delimiter when splitting as separators
despite being called separators are terminators.
2017-08-07 18:47:43 +01:00
Anthony Heading
462dd51fb0
41500: document "-" to end zparseopts options
2017-08-07 10:15:02 +01:00
Peter Stephenson
27efa0efd4
41470: Another note on new effect of POSIX_BUILTINS
...
exec now won't find precommand modifiers after it with the
option set. This may need further attention.
2017-08-01 09:37:26 +01:00
Barton E. Schaefer
43e55a9bcd
41472: introduce cleanup hooks default and restore special themes, and update documentation
2017-07-29 16:58:39 -07:00
Daniel Shahaf
f183ed66c8
41467: Correct completion of 'tmux new <TAB>'.
...
Reference: window_pane_spawn() in tmux 2.5.
Also, document _cmdstring and _precommand.
2017-07-28 15:49:14 +00:00
Peter Stephenson
d4b94b5e83
41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.
...
Document the default behaviour and add a test.
2017-07-27 09:22:04 +01:00
Jim
aaa0c90d40
41461: complete list of zsh manual pages in manual introcution
2017-07-26 09:39:08 +01:00
Peter Stephenson
1d0f2a5e7b
Further clarification about processing of expansions
2017-07-20 18:59:01 +01:00
Peter Stephenson
d2b98fba46
41429: Try to improve description of how stages of expansion fit together.
2017-07-17 09:23:00 +01:00
Peter Stephenson
a955065cda
Delay processing "disown" for superjob.
...
This is a job forked from the current shell when a job partly
running from the current shell was suspended. When all associated
processes started from the main shell are finished the job is
continued and at this point the disown can complete.
2017-07-04 09:40:45 +01:00
Stephane Chazelas
4d007e269d
41275: Leave stdin open when executing widgets
2017-06-13 21:34:55 -04:00
Peter Stephenson
d5c22d356b
41244: Add zmodload -s option.
...
Doesn't complain if module is unavailable, but prints more
obscure errors.
Use existing low-level silent flag by passing through
intermediate module loading hierarchy.
2017-06-12 10:10:23 +01:00
Barton E. Schaefer
11304f7318
unposted: clarify ZLS_COLORS pattern matching contexts
2017-05-28 11:32:10 -07:00
Jörg Sommer
f667cfcc68
41128: typo in compsys documentation
2017-05-22 10:10:07 +01:00
Peter Stephenson
14b5fae69e
users/22707: Document extra use of accept-exact-dirs
...
It allows completion after magically appearing directories that
dont't show up in the parent directory by supressing searching
of the parent directory if the subdirectory is directly found
to exist.
2017-05-19 11:16:10 +01:00
Daniel Shahaf
ce7a98fc05
users/22653: options.yo: Clarify REMATCH_PCRE semantics.
...
Presently, if the option is set but the module is unavailable, using '=~' sets
errflag.
2017-04-05 13:15:37 +00:00
Barton E. Schaefer
eaeebeb8bb
unposted: minor formatting: var() instead of tt().
2017-04-01 15:23:43 -07:00
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
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